This commit is contained in:
James Cole
2018-12-30 15:44:33 +01:00
parent d736ffec8e
commit 0f83582fed
4 changed files with 77 additions and 35 deletions

View File

@@ -47,4 +47,14 @@ function presentSearchResults(data) {
$('.select_all_single').unbind('change').change(function () {
countChecked();
});
// make sure select button works:
$('input[name="select_all"]').change(function () {
if (this.checked) {
checkAll();
countChecked();
} else {
uncheckAll();
countChecked();
}
});
}