summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-30 03:15:41 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-30 03:15:41 +0000
commit28aaa036e471a5d96be3938545c49e2dc71e342e (patch)
tree9fa1fe8e8ecd6cff16f15204a016faa4c92b0011 /misc
parent2feffc2d61bf8b022f28e51dbea313602706661d (diff)
downloadbrdo-28aaa036e471a5d96be3938545c49e2dc71e342e.tar.gz
brdo-28aaa036e471a5d96be3938545c49e2dc71e342e.tar.bz2
#304330 follow-up by sun: Clean-up of text format widget patch.
Diffstat (limited to 'misc')
-rw-r--r--misc/form.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/form.js b/misc/form.js
index 2a2e02dad..4451e40d9 100644
--- a/misc/form.js
+++ b/misc/form.js
@@ -14,18 +14,18 @@ Drupal.behaviors.multiselectSelector = {
/**
- * Automatically displays the guidelines of the selected text format.
+ * Automatically display the guidelines of the selected text format.
*/
Drupal.behaviors.filterGuidelines = {
attach: function(context) {
- $('.filter-guidelines:not(.filterGuidelines-processed)', context)
- .addClass('filterGuidelines-processed')
+ $('.filter-guidelines:not(.filter-guidelines-processed)', context)
+ .addClass('filter-guidelines-processed')
.find('label').hide()
.parents('.filter-wrapper').find('select.filter-list')
- .bind('change', function() {
+ .bind('change', function () {
$(this).parents('.filter-wrapper')
- .find('.filter-guidelines-item').hide()
- .siblings('#filter-guidelines-' + this.value).show();
+ .find('.filter-guidelines-item').hide()
+ .siblings('#filter-guidelines-' + this.value).show();
})
.change();
}