aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-24 14:40:08 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-24 14:40:08 +0000
commit75493dfb8cfe3b4a329d8255a55fdf9c534f8fbd (patch)
tree646bff4709e8a5eb80864c621743185b51b7e314 /views
parent99ea1e941a53b21d70179b8e835c4a583c8ace65 (diff)
downloadelgg-75493dfb8cfe3b4a329d8255a55fdf9c534f8fbd.tar.gz
elgg-75493dfb8cfe3b4a329d8255a55fdf9c534f8fbd.tar.bz2
Fixes #2998. Updated admin JS for dnd plugin reordering with new plugin layout.
git-svn-id: http://code.elgg.org/elgg/trunk@8464 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/js/admin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/js/admin.php b/views/default/js/admin.php
index c146597e5..a11f51e66 100644
--- a/views/default/js/admin.php
+++ b/views/default/js/admin.php
@@ -47,9 +47,9 @@ elgg.admin.init = function () {
* @return void
*/
elgg.admin.movePlugin = function(e, ui) {
- // get guid from id like elgg-plugin-<guid>
- var pluginGuid = ui.item.closest('.elgg-plugin').attr('id');
- pluginGuid = pluginGuid.replace('elgg-plugin-', '');
+ // get guid from id like elgg-object-<guid>
+ var pluginGuid = ui.item.attr('id');
+ pluginGuid = pluginGuid.replace('elgg-object-', '');
elgg.action('admin/plugins/set_priority', {
data: {