select unread now resets needed checkboxes
This commit is contained in:
parent
262c2426c5
commit
7d8d10c6ed
16
functions.js
16
functions.js
|
@ -580,9 +580,25 @@ function selectTableRowsByIdPrefix(content_id, prefix, check_prefix, do_select,
|
||||||
}
|
}
|
||||||
} else if (reset_others) {
|
} else if (reset_others) {
|
||||||
selectTableRow(content.rows[i], false);
|
selectTableRow(content.rows[i], false);
|
||||||
|
|
||||||
|
var row_id = content.rows[i].id.replace(prefix, "");
|
||||||
|
var check = document.getElementById(check_prefix + row_id);
|
||||||
|
|
||||||
|
if (check) {
|
||||||
|
check.checked = false;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
} else if (reset_others) {
|
} else if (reset_others) {
|
||||||
selectTableRow(content.rows[i], false);
|
selectTableRow(content.rows[i], false);
|
||||||
|
|
||||||
|
var row_id = content.rows[i].id.replace(prefix, "");
|
||||||
|
var check = document.getElementById(check_prefix + row_id);
|
||||||
|
|
||||||
|
if (check) {
|
||||||
|
check.checked = false;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue