Index: lams_admin/web/includes/javascript/learningLibraryGroup.js =================================================================== diff -u -r472fb979e3afdb43a7d537e588c5204554ba9f38 -r5fad66d149afd3cf16cc5b5817dd605a4bf15157 --- lams_admin/web/includes/javascript/learningLibraryGroup.js (.../learningLibraryGroup.js) (revision 472fb979e3afdb43a7d537e588c5204554ba9f38) +++ lams_admin/web/includes/javascript/learningLibraryGroup.js (.../learningLibraryGroup.js) (revision 5fad66d149afd3cf16cc5b5817dd605a4bf15157) @@ -201,8 +201,7 @@ * Save groups and let parent window that it can close the dialog */ function saveGroups(){ - var groups = [], - result = false; + var groups = []; $('#groupsTable .groupContainer').not('#newGroupPlaceholder').each(function(){ var learningLibraries = $('div.draggableLearningLibrary', this), @@ -235,13 +234,11 @@ }, 'type' : 'POST', 'success' : function(){ - result = true; + $('#dialogToolGroup', window.parent.document).remove(); }, 'error' : function(){ alert(LABELS.SAVE_ERROR); } }); } - - return result; } \ No newline at end of file