Révision 6e3ce7c2
Ajouté par Assos Assos il y a environ 3 ans
drupal7/sites/all/modules/ctools/js/collapsible-div.js | ||
---|---|---|
194 | 194 |
Drupal.CTools.CollapsibleCallbacksAfterToggle[i]($container, handle, content, toggle); |
195 | 195 |
} |
196 | 196 |
} |
197 |
} |
|
197 |
};
|
|
198 | 198 |
|
199 | 199 |
var clickMe = function () { |
200 | 200 |
if (Drupal.CTools.CollapsibleCallbacks) { |
... | ... | |
222 | 222 |
} |
223 | 223 |
|
224 | 224 |
return false; |
225 |
} |
|
225 |
};
|
|
226 | 226 |
|
227 | 227 |
// Let both the toggle and the handle be clickable. |
228 | 228 |
toggle.click(clickMe); |
... | ... | |
237 | 237 |
attach: function(context) { |
238 | 238 |
$('.ctools-collapsible-container', context).once('ctools-collapsible', Drupal.CTools.bindCollapsible); |
239 | 239 |
} |
240 |
} |
|
240 |
};
|
|
241 | 241 |
})(jQuery); |
Formats disponibles : Unified diff
Weekly update of contrib modules