FSN#38633 Op hele TD kunnen klikken voor multi-select checkbox

svn path=/Website/trunk/; revision=31843
This commit is contained in:
Jos Groot Lipman
2016-12-06 08:20:17 +00:00
parent 23b147f5f7
commit 8ff3cb54c0

View File

@@ -95,6 +95,14 @@ $(document).ready(function() {
return false; return false;
} }
}); });
$('th.multiselect:has(:checkbox)').click(function (e) {
if (!$(e.target).is('input'))
{
$('input:checkbox', this).prop('checked',!$('input:checkbox', this).prop('checked'));
checkAll($(this).closest("table")[0].id, $('input:checkbox', this)[0])
return false;
}
});
// Bij multi-select Shift-toets gebruiken voor een range // Bij multi-select Shift-toets gebruiken voor een range
var $chkboxes = $('input.multiselect'); var $chkboxes = $('input.multiselect');