diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-16 13:55:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-16 13:55:06 +0000 |
commit | 45dbfaf8164cb175973d8653e3537bd7c2de42ca (patch) | |
tree | 38dd4c05cc001618e113905d881710d7cdbaa870 | |
parent | c0f75814bff04f41e4dc035b4e0f2ea2b19cff54 (diff) | |
download | brdo-45dbfaf8164cb175973d8653e3537bd7c2de42ca.tar.gz brdo-45dbfaf8164cb175973d8653e3537bd7c2de42ca.tar.bz2 |
- Patch #445130 by Rob Loach, aspilicious, noahb, jpmckinney, TR: namespace the Drupal jQuery functions.
-rw-r--r-- | modules/book/book.js | 2 | ||||
-rw-r--r-- | modules/comment/comment-node-form.js | 4 | ||||
-rw-r--r-- | modules/filter/filter.admin.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/modules/book/book.js b/modules/book/book.js index cc3e66847..66bb39288 100644 --- a/modules/book/book.js +++ b/modules/book/book.js @@ -4,7 +4,7 @@ Drupal.behaviors.bookFieldsetSummaries = { attach: function (context) { - $('fieldset#edit-book', context).setSummary(function (context) { + $('fieldset#edit-book', context).drupalSetSummary(function (context) { var val = $('#edit-book-bid').val(); if (val === '0') { diff --git a/modules/comment/comment-node-form.js b/modules/comment/comment-node-form.js index 471cb106c..59edf6d48 100644 --- a/modules/comment/comment-node-form.js +++ b/modules/comment/comment-node-form.js @@ -4,11 +4,11 @@ Drupal.behaviors.commentFieldsetSummaries = { attach: function (context) { - $('fieldset#edit-comment-settings', context).setSummary(function (context) { + $('fieldset#edit-comment-settings', context).drupalSetSummary(function (context) { return Drupal.checkPlain($('input:checked', context).next('label').text()); }); // Provide the summary for the node type form. - $('fieldset#edit-comment', context).setSummary(function(context) { + $('fieldset#edit-comment', context).drupalSetSummary(function(context) { var vals = []; // Default comment setting. diff --git a/modules/filter/filter.admin.js b/modules/filter/filter.admin.js index 3ba6424af..c9be979db 100644 --- a/modules/filter/filter.admin.js +++ b/modules/filter/filter.admin.js @@ -31,7 +31,7 @@ Drupal.behaviors.filterStatus = { // Attach summary for configurable filters (only for screen-readers). if (tab) { - tab.fieldset.setSummary(function (tabContext) { + tab.fieldset.drupalSetSummary(function (tabContext) { return $checkbox.is(':checked') ? Drupal.t('Enabled') : Drupal.t('Disabled'); }); } |