summaryrefslogtreecommitdiff
path: root/misc/form.js
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-04-26 19:18:46 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-04-26 19:18:46 +0000
commitbda52632a5aa033d44151c224a39236b223c6b0e (patch)
treeda56b8095f58963707655312071d41de95adca84 /misc/form.js
parenta4dc8467bbe69ba984be31309f536af74dc64e73 (diff)
downloadbrdo-bda52632a5aa033d44151c224a39236b223c6b0e.tar.gz
brdo-bda52632a5aa033d44151c224a39236b223c6b0e.tar.bz2
#444402 by kkaefer and RobLoach: Enforce coding standards on all core JavaScript.
Diffstat (limited to 'misc/form.js')
-rw-r--r--misc/form.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/form.js b/misc/form.js
index b54582391..39c605978 100644
--- a/misc/form.js
+++ b/misc/form.js
@@ -20,7 +20,7 @@ $.fn.setSummary = function(callback) {
var that = this;
// To facilitate things, the callback should always be a function. If it's
- // not, we wrap it into an anonymous function which just returns the value.
+ // not, we wrap it into an anonymous function which just returns the value.
if (typeof callback != 'function') {
var val = callback;
callback = function() { return val; };
@@ -63,7 +63,7 @@ Drupal.behaviors.multiselectSelector = {
// Automatically selects the right radio button in a multiselect control.
$('.multiselect select:not(.multiselectSelector-processed)', context)
.addClass('multiselectSelector-processed').change(function() {
- $('.multiselect input:radio[value="'+ this.id.substr(5) +'"]')
+ $('.multiselect input:radio[value="' + this.id.substr(5) + '"]')
.attr('checked', true);
});
}
@@ -79,7 +79,7 @@ Drupal.behaviors.filterGuidelines = {
.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();