1 |
85ad3d82
|
Assos Assos
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
(function ($) {
|
6 |
74f6bef0
|
Assos Assos
|
Drupal.behaviors.ATcheckAll = {
|
7 |
85ad3d82
|
Assos Assos
|
attach: function (context) {
|
8 |
|
|
|
9 |
|
|
$(":input[name=core_check_all]").click(function()
|
10 |
|
|
{
|
11 |
|
|
var checked_status = this.checked;
|
12 |
|
|
$("input.drupal-core-css-file").each(function()
|
13 |
|
|
{
|
14 |
|
|
this.checked = checked_status;
|
15 |
|
|
});
|
16 |
|
|
});
|
17 |
|
|
|
18 |
|
|
$(":input[name=contrib_check_all]").click(function()
|
19 |
|
|
{
|
20 |
|
|
var checked_status = this.checked;
|
21 |
|
|
$("input.contrib-module-css-file").each(function()
|
22 |
|
|
{
|
23 |
|
|
this.checked = checked_status;
|
24 |
|
|
});
|
25 |
|
|
});
|
26 |
|
|
|
27 |
|
|
$(":input[name=libraries_check_all]").click(function()
|
28 |
|
|
{
|
29 |
|
|
var checked_status = this.checked;
|
30 |
|
|
$("input.library-css-file").each(function()
|
31 |
|
|
{
|
32 |
|
|
this.checked = checked_status;
|
33 |
|
|
});
|
34 |
|
|
});
|
35 |
|
|
|
36 |
|
|
$(":input[name=explicit_check_all]").click(function()
|
37 |
|
|
{
|
38 |
|
|
var checked_status = this.checked;
|
39 |
|
|
$("input.user-defined-css-file").each(function()
|
40 |
|
|
{
|
41 |
|
|
this.checked = checked_status;
|
42 |
|
|
});
|
43 |
|
|
});
|
44 |
|
|
}
|
45 |
|
|
};
|
46 |
|
|
})(jQuery); |