modify all in views : fix header checkbox not checked after check_all event fired

SVN:trunk[5895]
This commit is contained in:
Pierre Goiffon
2018-06-19 10:05:57 +00:00
parent f5cb29fadd
commit 18a5df1ce7

View File

@@ -506,6 +506,8 @@ function sprintf(format, etc) {
applySelection(table);
});
$(table).bind('check_all', function() {
// update header checkbox
$(table).find("thead>tr>th>input:checkbox").prop("checked", true);
checkAll(table, pager, true);
});
}