Index: lams_monitoring/web/monitorLesson.jsp =================================================================== diff -u -r7f25719a301c7485160a67a698fa32a7dcdb1b3e -r9481bb9c6f8c0e4d6fbed6b230a41c77feda64c6 --- lams_monitoring/web/monitorLesson.jsp (.../monitorLesson.jsp) (revision 7f25719a301c7485160a67a698fa32a7dcdb1b3e) +++ lams_monitoring/web/monitorLesson.jsp (.../monitorLesson.jsp) (revision 9481bb9c6f8c0e4d6fbed6b230a41c77feda64c6) @@ -51,6 +51,8 @@ openURL(args); }else if(command == "closeWindowRefresh") { closeWindowRefresh(); + }else if(command == "openAuthorForEditOnFly") { + openAuthorForEditOnFly(args); } } @@ -108,6 +110,10 @@ closeWindow(); } + function openAuthorForEditOnFly(learningDesignID) { + window.opener.openAuthorForEditOnFly(learningDesignID); + } + function openURL(args){ window.open(args, "_blank"); } @@ -124,10 +130,11 @@ String languageDate = Configuration.get(ConfigurationKeys.DICTIONARY_DATE_CREATED); String actColour = Configuration.get(ConfigurationKeys.AUTHORING_ACTS_COLOUR); String allowDirectLessonLaunch = Configuration.get(ConfigurationKeys.ALLOW_DIRECT_LESSON_LAUNCH); +String allowEditOnFly = Configuration.get(ConfigurationKeys.ALLOW_EDIT_ON_FLY); %> <%-- lessonID is passed in as request parameters by addLesson.jsp in lams_central. --%> - ?loadFile=monitoring/lams_monitoring.swf&loadLibrary=monitoring/lams_monitoring_library.swf&userID=&serverURL=&build=<%=clientVersion%>&lang=&country=&langDate=<%=languageDate%>&theme=&lessonID=&actColour=<%= actColour %>&lessonLaunch=<%=allowDirectLessonLaunch%> + ?loadFile=monitoring/lams_monitoring.swf&loadLibrary=monitoring/lams_monitoring_library.swf&userID=&serverURL=&build=<%=clientVersion%>&lang=&country=&langDate=<%=languageDate%>&theme=&lessonID=&actColour=<%= actColour %>&lessonLaunch=<%=allowDirectLessonLaunch%>&editOnFly=<%=allowEditOnFly%> ../lams_preloader ../lams_preloader.swf