Révision 18596a08
Ajouté par Assos Assos il y a presque 7 ans
drupal7/sites/all/modules/module_filter/js/modules.js | ||
---|---|---|
3 | 3 |
Drupal.behaviors.moduleFilter = { |
4 | 4 |
attach: function(context) { |
5 | 5 |
$('#system-modules td.description').once('description', function() { |
6 |
$('.inner.expand', $(this)).click(function() { |
|
7 |
$(this).toggleClass('expanded'); |
|
6 |
$(this).click(function() { |
|
7 |
$('.inner.expand', $(this)).toggleClass('expanded'); |
|
8 |
}); |
|
9 |
$('.inner.expand', $(this)).children().click(function(e) { |
|
10 |
if ($(this).parent().hasClass('expanded')) { |
|
11 |
e.stopPropagation(); |
|
12 |
} |
|
8 | 13 |
}); |
9 | 14 |
}); |
10 | 15 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules