summaryrefslogtreecommitdiff
path: root/modules/node/node.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/node.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/node.js')
-rw-r--r--modules/node/node.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/node/node.js b/modules/node/node.js
index 4a0c49d63..2f3f56f84 100644
--- a/modules/node/node.js
+++ b/modules/node/node.js
@@ -4,20 +4,20 @@
Drupal.behaviors.nodeFieldsetSummaries = {
attach: function (context) {
- $('fieldset#edit-revision-information', context).setSummary(function (context) {
+ $('fieldset#edit-revision-information', context).drupalSetSummary(function (context) {
return $('#edit-revision', context).is(':checked') ?
Drupal.t('New revision') :
Drupal.t('No revision');
});
- $('fieldset#edit-author', context).setSummary(function (context) {
+ $('fieldset#edit-author', context).drupalSetSummary(function (context) {
var name = $('#edit-name').val(), date = $('#edit-date').val();
return date ?
Drupal.t('By @name on @date', { '@name': name, '@date': date }) :
Drupal.t('By @name', { '@name': name });
});
- $('fieldset#edit-options', context).setSummary(function (context) {
+ $('fieldset#edit-options', context).drupalSetSummary(function (context) {
var vals = [];
$('input:checked', context).parent().each(function () {