summaryrefslogtreecommitdiff
path: root/modules/node/content_types.js
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-09 12:24:53 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-09 12:24:53 +0000
commit459d623467a23d8deda42620eb9be7992d5cfd24 (patch)
treed4807ff4cfccd52634e7c0785649e1eae52708cd /modules/node/content_types.js
parent70d60fb88fb90a84fa06de5dff97c16dc3b43956 (diff)
downloadbrdo-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.js6
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()));