Index: lams_central/web/main.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/main.jsp,v diff -u -r1.53 -r1.54 --- lams_central/web/main.jsp 11 Dec 2012 11:29:44 -0000 1.53 +++ lams_central/web/main.jsp 19 Dec 2012 13:44:32 -0000 1.54 @@ -76,6 +76,28 @@ }); }); + function removeLesson(lessonID) { + + if (confirm("")) { + if (confirm("")) { + $.ajax({ + async: false, + url: "monitoring/monitoring.do", + data: "method=removeLessonJson&lessonID=" + lessonID, + type: "post", + success: function (json) { + if (json.removeLesson == "true") { + refresh(); + } else { + alert(json.removeLesson); + } + } + }); + } + } + + } + function getEnableSortingText() { return ""; }