Index: lams_central/web/includes/javascript/progressBar.js =================================================================== diff -u -r3b70087062500e57ffd0a57c798716883ca61150 -r9b3d8eb1300d18aad5becbc356d47a598f1bff36 --- lams_central/web/includes/javascript/progressBar.js (.../progressBar.js) (revision 3b70087062500e57ffd0a57c798716883ca61150) +++ lams_central/web/includes/javascript/progressBar.js (.../progressBar.js) (revision 9b3d8eb1300d18aad5becbc356d47a598f1bff36) @@ -39,7 +39,11 @@ // ----- CONTROL FRAME & WINDOW MANIPULATION ----- // generic function for opening a pop up -function openPopUp(url, title, h, w, status) { +function openPopUp(url, title, h, w, status, forceNewWindow) { + if (forceNewWindow) { + // opens a new window rather than loading content to existing one + title += new Date().getTime(); + } window.open(url, title, "HEIGHT=" + h + ",WIDTH=" + w + ",resizable=yes,scrollbars=yes,status=" + status + ",menubar=no, toolbar=no"); Index: lams_monitoring/web/includes/javascript/monitorLesson.js =================================================================== diff -u -rf849f77862cd880921fb9e851e9f7fd84eaf391a -r9b3d8eb1300d18aad5becbc356d47a598f1bff36 --- lams_monitoring/web/includes/javascript/monitorLesson.js (.../monitorLesson.js) (revision f849f77862cd880921fb9e851e9f7fd84eaf391a) +++ lams_monitoring/web/includes/javascript/monitorLesson.js (.../monitorLesson.js) (revision 9b3d8eb1300d18aad5becbc356d47a598f1bff36) @@ -707,7 +707,7 @@ : function(){ // double click on activity shape to open Monitoring for this activity - openPopUp(LAMS_URL + activity.url, "MonitorActivity", 720, 900, true); + openPopUp(LAMS_URL + activity.url, "MonitorActivity", 720, 900, true, true); } ); } @@ -1120,7 +1120,7 @@ alert(response); } else { openPopUp(LAMS_URL + 'home.do?method=author&layout=editonfly&learningDesignID=' + ldId, - 'LiveEdit', 768, 1024, false); + 'LiveEdit', 600, 800, false); window.parent.closeMonitorLessonDialog(); } } @@ -1520,4 +1520,4 @@ target.appendChild(element); return element; -} +} \ No newline at end of file