summaryrefslogtreecommitdiff
path: root/modules/profile/profile.js
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-08 14:06:23 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-08 14:06:23 +0000
commit5622bce2d52904922a7fd450088bcaed417af7fd (patch)
tree2999f99426795c0e105dd988241278ac2e66c340 /modules/profile/profile.js
parentaaaf8f572d1b7a5cb0d0e5b68a5f788adee222b2 (diff)
downloadbrdo-5622bce2d52904922a7fd450088bcaed417af7fd.tar.gz
brdo-5622bce2d52904922a7fd450088bcaed417af7fd.tar.bz2
#198579 by webernet and hswong3i: a huge set of coding style fixes, including:
- whitespaces at end of lines - indentation - control structure usage - whitespace in empty lines - phpdoc comment formatting
Diffstat (limited to 'modules/profile/profile.js')
-rw-r--r--modules/profile/profile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/profile/profile.js b/modules/profile/profile.js
index dadc60a01..2d84d27e0 100644
--- a/modules/profile/profile.js
+++ b/modules/profile/profile.js
@@ -46,7 +46,7 @@ Drupal.behaviors.profileDrag = function(context) {
if (!categoryField.is('.profile-category-'+ categoryNum)) {
categoryField.removeClass('profile-category-' + oldcategoryNum).addClass('profile-category-' + categoryNum);
weightField.removeClass('profile-weight-' + oldcategoryNum).addClass('profile-weight-' + categoryNum);
-
+
categoryField.val(categoryField[0].options[categoryNum].value);
}
}