Index: lams_central/web/includes/javascript/progressBar.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/progressBar.js,v diff -u -r1.7 -r1.8 --- lams_central/web/includes/javascript/progressBar.js 30 Aug 2013 12:20:33 -0000 1.7 +++ lams_central/web/includes/javascript/progressBar.js 19 Sep 2013 07:57:33 -0000 1.8 @@ -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 =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/web/includes/javascript/monitorLesson.js,v diff -u -r1.24 -r1.25 --- lams_monitoring/web/includes/javascript/monitorLesson.js 5 Sep 2013 01:01:40 -0000 1.24 +++ lams_monitoring/web/includes/javascript/monitorLesson.js 19 Sep 2013 07:57:31 -0000 1.25 @@ -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