1 |
85ad3d82
|
Assos Assos
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
(function ($) {
|
8 |
|
|
|
9 |
|
|
Drupal.behaviors.CToolsBulkExport = {
|
10 |
|
|
attach: function (context) {
|
11 |
|
|
|
12 |
|
|
$('#bulk-export-export-form .vertical-tabs-pane', context).drupalSetSummary(function (context) {
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
if ($('.bulk-selection input:checked', context).length > 0) {
|
16 |
|
|
return Drupal.t('Exportables selected');
|
17 |
|
|
}
|
18 |
|
|
|
19 |
|
|
return '';
|
20 |
|
|
});
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
$('.select-all').bind('click', function(context) {
|
24 |
|
|
$(this, '.vertical-tabs-pane').drupalSetSummary(context);
|
25 |
|
|
});
|
26 |
|
|
}
|
27 |
|
|
};
|
28 |
|
|
|
29 |
|
|
})(jQuery); |