Index: lams_central/web/includes/javascript/openUrls.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/openUrls.js,v diff -u -r1.38.2.4 -r1.38.2.5 --- lams_central/web/includes/javascript/openUrls.js 2 Sep 2015 13:02:43 -0000 1.38.2.4 +++ lams_central/web/includes/javascript/openUrls.js 24 Feb 2016 12:35:44 -0000 1.38.2.5 @@ -55,7 +55,7 @@ authorWin = window.open('home.do?method=authorFlash','aWindow','width=' + authoring_width + ',height=' + authoring_height + ',resizable'); } else { if(authorWin && !authorWin.closed && authorWin.location.pathname.indexOf('home.do?method=author') > -1) { - //authorWin.location = 'home.do?method=author'; + // authorWin.location = 'home.do?method=author'; authorWin.focus(); } else { authorWin = window.open('home.do?method=authorFlash','aWindow','width=' + authoring_width + ',height=' + authoring_height + ',resizable'); @@ -130,8 +130,8 @@ /** * Method designed to open learner window from shortened LAMS learner - * URLS like /lams/r/*. Works exactly the same as openLearner() method except it - * opens slightly modified path "../home.do". + * URLS like /lams/r/*. Works exactly the same as openLearner() method + * except it opens slightly modified path "../home.do". */ function openLearnerShortenedUrl( lessonId ) { if (isMac) { @@ -146,19 +146,6 @@ } } - function openExportPortfolio( lessonId ) { - if (isMac) { - epWin = window.open('learning/exportWaitingPage.jsp?mode=learner&lessonID='+lessonId,'epWindow','width=796,height=570,resizable,status=yes'); - } else { - if (epWin && !epWin.closed ) { - epWin.location = 'learning/exportWaitingPage.jsp?mode=learner&lessonID='+lessonId; - ep.focus(); - } else { - epWin = window.open('learning/exportWaitingPage.jsp?mode=learner&lessonID='+lessonId,'epWindow','width=796,height=570,resizable,status=yes'); - } - } - } - function openSysadmin() { var height = sys_admin_height; var width = sys_admin_width; @@ -267,4 +254,4 @@ gradebookMonLessonWin.focus(); } } - //--> + // -->