Index: lams_central/web/author.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/author.jsp,v diff -u -r1.32.2.1 -r1.32.2.2 --- lams_central/web/author.jsp 12 Mar 2007 01:17:49 -0000 1.32.2.1 +++ lams_central/web/author.jsp 7 Jun 2007 04:47:30 -0000 1.32.2.2 @@ -22,7 +22,7 @@ String serverLanguage = Configuration.get(ConfigurationKeys.SERVER_LANGUAGE); String languageDate = Configuration.get(ConfigurationKeys.DICTIONARY_DATE_CREATED); String actColour = Configuration.get(ConfigurationKeys.AUTHORING_ACTS_COLOUR); - +String version = Configuration.get(ConfigurationKeys.VERSION); %> @@ -91,6 +91,8 @@ closeWindow(); }else if(command == "openURL"){ openURL(args, "_blank"); + }else if(command == "openMonitorLesson") { + openMonitorLesson(args); } } @@ -235,17 +237,22 @@ } } +function openMonitorLesson(lessonID) { + window.opener.openMonitorLesson(lessonID); +} + + if(window.attachEvent) { window.attachEvent("onbeforeunload", myOnBeforeUnload); } else { window.onbeforeunload = myOnBeforeUnload; } //--> -