mirror of
https://github.com/e107inc/e107.git
synced 2025-10-12 21:45:11 +02:00
jQuery e-check-all and e-uncheck-all selectors added.
This commit is contained in:
@@ -157,8 +157,19 @@ $(document).ready(function()
|
||||
}).disableSelection();
|
||||
|
||||
|
||||
// Check ALl Button
|
||||
$("#e-check-all").click(function(){
|
||||
$("input[type=\"checkbox\"]").attr("checked", "checked");
|
||||
});
|
||||
|
||||
// Check-All
|
||||
// Uncheck all button.
|
||||
$("#e-uncheck-all").click(function(){
|
||||
$("input[type=\"checkbox\"]").removeAttr("checked");
|
||||
});
|
||||
|
||||
|
||||
|
||||
// Check-All checkbox toggle
|
||||
$("input.toggle-all").click(function(evt){
|
||||
if($(this).is(":checked")){
|
||||
$("input[type=\"checkbox\"].checkbox").attr("checked", "checked");
|
||||
|
Reference in New Issue
Block a user