Modified admin javascript for check all checkbox to ignore disabled checkboxes.

This commit is contained in:
myates
2014-01-13 21:57:51 +11:00
committed by Sebastien Ros
parent 7366af95ee
commit 86d149f9f7

View File

@@ -72,7 +72,7 @@
});
$(".check-all").change(function () {
$(this).parents("table.items").find(":checkbox").prop('checked', $(this).prop("checked"));
$(this).parents("table.items").find(":checkbox:not(:disabled)").prop('checked', $(this).prop("checked"));
});
})(jQuery);