FSN#39694 klik op TD triggert nu ook togglefooter bij bulk acties

svn path=/Website/branches/v2016.3/; revision=32993
This commit is contained in:
2017-03-01 09:20:11 +00:00
parent 2373cd12da
commit 203c2d6658

View File

@@ -45,7 +45,7 @@ function doFilter(deze)
if (!found)
$(this).find("input.multiselect").prop('checked', false);
});
toggleFooter.apply($("table.rstable")[0].id);
toggleFooter($("table.rstable")[0].id);
if (typeof updateTableHeaders == 'function')
updateTableHeaders();
window.lastFilter = valThis;
@@ -82,6 +82,8 @@ $(document).ready(function() {
function kliklist (doMulti)
{
$(this).closest("tr").toggleClass("selected", this.checked);
toggleFooter($(this).closest("table")[0].id);
if(!lastChecked) {
lastChecked = this;
return;
@@ -98,7 +100,6 @@ $(document).ready(function() {
.prop('checked', lastChecked.checked)
.closest("tr").toggleClass("selected", lastChecked.checked);
}
toggleFooter.apply($(this).closest("table")[0].id);
lastChecked = this;
}
$(document).ready(function() {
@@ -566,7 +567,7 @@ function checkAll(thisID, zelf)
{
this.checked = zelf.checked;
});
toggleFooter.apply(thisID);
toggleFooter(thisID);
}
function RSdefaultAction(thisID, defaultAction)
{