summaryrefslogtreecommitdiff
path: root/misc/tableselect.js
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tableselect.js')
-rw-r--r--misc/tableselect.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/misc/tableselect.js b/misc/tableselect.js
index 65eb7efbc..36a209f3c 100644
--- a/misc/tableselect.js
+++ b/misc/tableselect.js
@@ -1,7 +1,9 @@
// $Id$
-Drupal.behaviors.tableSelect = function (context) {
- $('form table:has(th.select-all):not(.tableSelect-processed)', context).each(Drupal.tableSelect);
+Drupal.behaviors.tableSelect = {
+ attach: function(context) {
+ $('form table:has(th.select-all):not(.tableSelect-processed)', context).each(Drupal.tableSelect);
+ }
};
Drupal.tableSelect = function() {