summaryrefslogtreecommitdiff
path: root/modules/profile/profile.js
diff options
context:
space:
mode:
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);
}
}