Actions
Bug #2658
closedBackend plugin enable/disable clicks on icon failing if a line before that one is checked-out
Description
Could reproduce issue:
- edit without closing plugin of line e.g. 5 (keeping it checked out)
- click the enable of a line after that one (e.g. 12)
The Javascript checks presence of all checkboxes, and of course fails because there is a lock image instead of the checkbox.
This is due to the "break" in here:
function cbListItemTask( cb, task, subtaskName, subtaskValue, fldName, id ) {
var f = cbParentForm(cb);
if (cb) {
for (i = 0; true; i++) {
cbx = f.elements[fldName+i];
if (!cbx) {
break;
}
Actions