summaryrefslogtreecommitdiff
path: root/misc/collapse.js
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-13 23:15:09 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-13 23:15:09 +0000
commitb77475baf5eee88f7ca08adaf53c7c5eda6aca58 (patch)
tree4a1bf4029dc06956ceaa9c7373dbabb85e4dc3d0 /misc/collapse.js
parent35794257c39c915f15c23b968cd9edd166a12696 (diff)
downloadbrdo-b77475baf5eee88f7ca08adaf53c7c5eda6aca58.tar.gz
brdo-b77475baf5eee88f7ca08adaf53c7c5eda6aca58.tar.bz2
#360081 by quicksketch: Stop using global variables for JavaScript settings.
Diffstat (limited to 'misc/collapse.js')
-rw-r--r--misc/collapse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/collapse.js b/misc/collapse.js
index 7da7e16b1..35ebe5287 100644
--- a/misc/collapse.js
+++ b/misc/collapse.js
@@ -52,7 +52,7 @@ Drupal.collapseScrollIntoView = function (node) {
};
Drupal.behaviors.collapse = {
- attach: function(context) {
+ attach: function(context, settings) {
$('fieldset.collapsible > legend:not(.collapse-processed)', context).each(function() {
var fieldset = $(this.parentNode);
// Expand if there are errors inside