mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing tenant editor "Select all" checkbox
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
$(function () {
|
||||
$(".select-all").click(function () {
|
||||
var $checkbox = $(this);
|
||||
var $allCheckboxes = $checkbox.parent().find(":checkbox");
|
||||
var $allCheckboxes = $checkbox.closest("ol").find(":checkbox");
|
||||
if ($checkbox.is(':checked')) {
|
||||
$allCheckboxes.prop("checked", true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user