Merge remote-tracking branch 'github/dev' into dev

pull/915/head
ibuler 2018-01-10 18:11:23 +08:00
commit 9bf6b12904
1 changed files with 2 additions and 2 deletions

View File

@ -310,11 +310,11 @@ jumpserver.initDataTable = function (options) {
if (!jumpserver.checked) {
$(this).closest('table').find('.ipt_check').prop('checked', true);
jumpserver.checked = true;
table.rows().select();
table.rows({search:'applied'}).select();
} else {
$(this).closest('table').find('.ipt_check').prop('checked', false);
jumpserver.checked = false;
table.rows().deselect();
table.rows({search:'applied'}).deselect();
}
});