Commit 45dbfaf8 authored by Dries's avatar Dries

- Patch #445130 by Rob Loach, aspilicious, noahb, jpmckinney, TR: namespace...

- Patch #445130 by Rob Loach, aspilicious, noahb, jpmckinney, TR: namespace the Drupal jQuery functions.
parent c0f75814
......@@ -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') {
......
......@@ -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.
......
......@@ -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');
});
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment