Index: lams_central/web/includes/javascript/main.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/Attic/main.js,v diff -u -r1.1.2.8 -r1.1.2.9 --- lams_central/web/includes/javascript/main.js 2 Nov 2016 07:02:52 -0000 1.1.2.8 +++ lams_central/web/includes/javascript/main.js 3 Nov 2016 16:04:03 -0000 1.1.2.9 @@ -387,39 +387,6 @@ }, true); } -function saveOrgGroups() { - var groupsSaved = saveGroups(); - if (groupsSaved) { - showOrgGroupDialogContents(null, 460, 460, - LAMS_URL + 'OrganisationGroup.do?method=viewGroupings&organisationID=' - + $('#dialogOrgGroup').data('orgID')); - } -} - -function showOrgGroupDialogContents(title, width, height, url) { - var id = "dialogOrgGroup", - dialog = $('#' + id), - exists = dialog.length > 0, - orgID = null; - if (exists) { - if (!title) { - title = $('.modal-title', dialog).text(); - } - orgID = dialog.data('orgID'); - } - showDialog(id, { - 'data' : { - 'orgID' : orgID - }, - 'height' : height, - 'width' : width, - 'title' : title, - 'open' : function() { - $('iframe', this).attr('src', url); - } - }, true, exists); -} - function showAddSingleActivityLessonDialog(orgID, toolID, learningLibraryID) { showDialog("dialogAddSingleActivityLesson", { 'data' : {