diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-09 12:24:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-09 12:24:53 +0000 |
commit | 459d623467a23d8deda42620eb9be7992d5cfd24 (patch) | |
tree | d4807ff4cfccd52634e7c0785649e1eae52708cd /modules/node/content_types.js | |
parent | 70d60fb88fb90a84fa06de5dff97c16dc3b43956 (diff) | |
download | brdo-459d623467a23d8deda42620eb9be7992d5cfd24.tar.gz brdo-459d623467a23d8deda42620eb9be7992d5cfd24.tar.bz2 |
- Patch #445130 by Rob Loach, aspilicious: namespace the Drupal jQuery functions.
Diffstat (limited to 'modules/node/content_types.js')
-rw-r--r-- | modules/node/content_types.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/node/content_types.js b/modules/node/content_types.js index ed4fe81d3..a76240c78 100644 --- a/modules/node/content_types.js +++ b/modules/node/content_types.js @@ -4,13 +4,13 @@ Drupal.behaviors.contentTypes = { attach: function (context) { // Provide the vertical tab summaries. - $('fieldset#edit-submission', context).setSummary(function(context) { + $('fieldset#edit-submission', context).drupalSetSummary(function(context) { var vals = []; vals.push(Drupal.checkPlain($('#edit-title-label', context).val()) || Drupal.t('Requires a title')); vals.push(Drupal.checkPlain($('#edit-body-label', context).val()) || Drupal.t('No body')); return vals.join(', '); }); - $('fieldset#edit-workflow', context).setSummary(function(context) { + $('fieldset#edit-workflow', context).drupalSetSummary(function(context) { var vals = []; $("input[name^='node_options']:checked", context).parent().each(function() { vals.push(Drupal.checkPlain($(this).text())); @@ -20,7 +20,7 @@ Drupal.behaviors.contentTypes = { } return vals.join(', '); }); - $('fieldset#edit-display', context).setSummary(function(context) { + $('fieldset#edit-display', context).drupalSetSummary(function(context) { var vals = []; $('input:checked', context).next('label').each(function() { vals.push(Drupal.checkPlain($(this).text())); |