aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/admin.php
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-10-23 11:59:23 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-10-23 11:59:23 -0700
commitb0e599dc5c1c1e4d1a57b4adf345210778369650 (patch)
tree85d7a74c1ae884b9712e1c953b7f54ad58cc8c27 /views/default/js/admin.php
parent1b179e3dd38c98959dd95ee42af14d1a32ab2481 (diff)
downloadelgg-b0e599dc5c1c1e4d1a57b4adf345210778369650.tar.gz
elgg-b0e599dc5c1c1e4d1a57b4adf345210778369650.tar.bz2
Fixes #3864. Removed old code from profile fields sorting. Name spaced IDs and classes.
Diffstat (limited to 'views/default/js/admin.php')
-rw-r--r--views/default/js/admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/js/admin.php b/views/default/js/admin.php
index 253a73887..d4dd06822 100644
--- a/views/default/js/admin.php
+++ b/views/default/js/admin.php
@@ -42,7 +42,7 @@ elgg.admin.init = function () {
});
// draggable profile field reordering.
- $('#sortable_profile_fields').sortable({
+ $('#elgg-profile-fields').sortable({
items: 'li',
handle: 'span.elgg-state-draggable',
stop: elgg.admin.moveProfileField
@@ -143,7 +143,7 @@ elgg.admin.editProfileField = function(value, settings) {
* @return void
*/
elgg.admin.moveProfileField = function(e, ui) {
- var orderArr = $('#sortable_profile_fields').sortable('toArray');
+ var orderArr = $('#elgg-profile-fields').sortable('toArray');
var orderStr = orderArr.join(',');
elgg.action('profile/fields/reorder', {