* fixed bug #653.

This commit is contained in:
Catouse
2014-11-27 13:58:22 +08:00
parent 35ca454942
commit e717233a92

View File

@@ -383,6 +383,7 @@ $(function()
if(e.closest('.datatable').length) return;
scope = e.data('scope');
scope = scope ? $('#' + scope) : e.closest('.table');
if(!scope.length) scope = e.closest('form');
scope.find('input:checkbox').each(e.hasClass('check-inverse') ? function() { $(this).attr("checked", !$(this).attr("checked"));} : function() { $(this).attr("checked", true);});
});
});