Révision 18596a08
Ajouté par Assos Assos il y a presque 7 ans
drupal7/sites/all/modules/module_filter/js/module_filter_tab.js | ||
---|---|---|
84 | 84 |
summary += '<span>' + Drupal.t('No modules were enabled or disabled within the last week.') + '</span>'; |
85 | 85 |
} |
86 | 86 |
break; |
87 |
default:
|
|
87 |
default: |
|
88 | 88 |
var $row = $('#' + id + '-package'); |
89 | 89 |
name = $.trim($row.text()); |
90 | 90 |
$row.remove(); |
... | ... | |
242 | 242 |
if (!$(this).hasClass('disabled')) { |
243 | 243 |
if (Drupal.ModuleFilter.jQueryIsNewer()) { |
244 | 244 |
$checkbox.click(); |
245 |
$switch.toggleClass('off'); |
|
245 | 246 |
} |
246 | 247 |
else { |
247 | 248 |
$checkbox.click().change(); |
249 |
$switch.toggleClass('off'); |
|
248 | 250 |
} |
249 | 251 |
} |
250 | 252 |
}); |
251 |
$checkbox.click(function() { |
|
252 |
if (!$switch.hasClass('disabled')) { |
|
253 |
$switch.toggleClass('off'); |
|
254 |
} |
|
255 |
}); |
|
256 | 253 |
}); |
257 | 254 |
} |
258 | 255 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules