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.26 -r1.1.2.27 --- lams_central/web/includes/javascript/main.js 24 Feb 2017 19:59:38 -0000 1.1.2.26 +++ lams_central/web/includes/javascript/main.js 4 May 2017 04:11:23 -0000 1.1.2.27 @@ -480,25 +480,6 @@ }, true); } -function showGradebookLessonDialog(lessonID){ - var id = "dialogGradebookLesson" + lessonID; - showDialog(id, { - 'data' : { - 'lessonID' : lessonID - }, - 'height': Math.max(380, Math.min(800, $(window).height() - 30)), - 'width' : Math.max(380, Math.min(1024, $(window).width() - 60)), - 'title' : LABELS.GRADEBOOK_LESSON_TITLE, - 'open' : function() { - var lessonID = $(this).data('lessonID'); - // load contents after opening the dialog - $('iframe', this).attr('src', LAMS_URL + 'gradebook/gradebookMonitoring.do?lessonID=' + lessonID); - } - }, true); -} - - - function showGradebookLearnerDialog(orgID){ var id = "dialogGradebookLearner" + orgID; showDialog(id, {