FSN#39663 filter, togglefooter en 'multi-action regel-counter' werken nu naar behoren
svn path=/Website/branches/v2016.3/; revision=32949
This commit is contained in:
@@ -32,8 +32,12 @@ function doFilter(deze)
|
||||
$('table.rstable>tbody>tr').each(function(){
|
||||
var text = $(this).text().toLowerCase();
|
||||
var moretext = ($(this).find("span.rsTruncmore").attr('resttxt')||"").toLowerCase();
|
||||
$(this).toggle(text.indexOf(valThis) > -1 || moretext.indexOf(valThis) > -1);
|
||||
var found = text.indexOf(valThis) > -1 || moretext.indexOf(valThis) > -1;
|
||||
$(this).toggle(found);
|
||||
if (!found)
|
||||
$(this).find("input.multiselect").prop('checked', false);
|
||||
});
|
||||
toggleFooter.apply($("table.rstable")[0].id);
|
||||
if (typeof updateTableHeaders == 'function')
|
||||
updateTableHeaders();
|
||||
}
|
||||
@@ -544,7 +548,7 @@ function doMulti(thisID, func, tekst, onceMulti)
|
||||
|
||||
function checkAll(thisID, zelf)
|
||||
{
|
||||
$("#"+thisID+" .multiselect").each(function()
|
||||
$("#"+thisID+" .multiselect").not(":hidden").each(function()
|
||||
{
|
||||
this.checked = zelf.checked;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user