Révision 13c3c9b4
Ajouté par Assos Assos il y a environ 9 ans
drupal7/sites/all/modules/views/js/views-contextual.js | ||
---|---|---|
9 | 9 |
// If there are views-related contextual links attached to the main page |
10 | 10 |
// content, find the smallest region that encloses both the links and the |
11 | 11 |
// view, and display it as a contextual links region. |
12 |
$('.views-contextual-links-page', context).closest(':has(.view)').addClass('contextual-links-region');
|
|
12 |
$('.views-contextual-links-page', context).closest(':has(".view"):not("body")').addClass('contextual-links-region');
|
|
13 | 13 |
} |
14 | 14 |
}; |
15 | 15 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules