diff options
author | Michal Čihař <michal@cihar.com> | 2017-10-30 12:26:03 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-10-30 12:26:03 +0300 |
commit | 7a17da0f57f535985e5b41b1deaab9508e050bda (patch) | |
tree | f774b01a8e411dcc8cac683e9e39b83a84f523f3 /js/functions.js | |
parent | 42a832f290b9674e47ff95c9540fa147c8d0fcfb (diff) |
Fixed check all interaction with filtering
- check all select only filtered rows
- the hidden rows are automatically unselected
- the check all state is updated according to filtering
Fixes #13517
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'js/functions.js')
-rw-r--r-- | js/functions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/functions.js b/js/functions.js index 9054e42a16..9ef03fd9c5 100644 --- a/js/functions.js +++ b/js/functions.js @@ -4741,7 +4741,7 @@ $(document).on("change", checkboxes_sel, checkboxes_changed); $(document).on("change", "input.checkall_box", function () { var is_checked = $(this).is(":checked"); - $(this.form).find(checkboxes_sel).prop("checked", is_checked) + $(this.form).find(checkboxes_sel).not('.row-hidden').prop("checked", is_checked) .parents("tr").toggleClass("marked", is_checked); }); |