Skip to content

Commit 3bdfdd7

Browse files
committed
Preparing for new version
1 parent e631ed4 commit 3bdfdd7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/Public/quickadmin/js/main.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,19 @@ $(document).ready(function () {
99
$('.ckeditor').each(function () {
1010
CKEDITOR.replace($(this));
1111
})
12+
$('.mass').click(function () {
13+
if ($(this).is(":checked")) {
14+
$('.single').each(function () {
15+
if ($(this).is(":checked") == false) {
16+
$(this).click();
17+
}
18+
});
19+
} else {
20+
$('.single').each(function () {
21+
if ($(this).is(":checked") == true) {
22+
$(this).click();
23+
}
24+
});
25+
}
26+
});
1227
});

0 commit comments

Comments
 (0)