Index: lams_central/web/includes/javascript/groupDisplay.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/groupDisplay.js,v diff -u -r1.33 -r1.34 --- lams_central/web/includes/javascript/groupDisplay.js 4 Sep 2013 12:00:50 -0000 1.33 +++ lams_central/web/includes/javascript/groupDisplay.js 13 Sep 2013 06:47:14 -0000 1.34 @@ -129,9 +129,8 @@ containment : 'parent', stop : function() { var ids = $(this).sortable('toArray'); - - var jLessonsId = $(this).parents( - "div[class$='lessons']").attr("id"); + + var jLessonsId = $(this).attr("id"); var dashIndex = jLessonsId.indexOf("-"); var orgId = (dashIndex > 0 ? jLessonsId.substring(0, dashIndex) : jLessonsId); @@ -142,8 +141,8 @@ orgId : orgId, ids : ids.join(",") }, - error : function(a, b) { - refresh(); + error : function() { + loadOrgTab(null, true); } }); }