Index: lams_central/web/author.jsp =================================================================== diff -u -r80eeae8575a7a43e688d8e360ca6fc181f1893e4 -r244142b8f4dd5a881dc9ccabe33d84ee75ca46c1 --- lams_central/web/author.jsp (.../author.jsp) (revision 80eeae8575a7a43e688d8e360ca6fc181f1893e4) +++ lams_central/web/author.jsp (.../author.jsp) (revision 244142b8f4dd5a881dc9ccabe33d84ee75ca46c1) @@ -111,13 +111,16 @@ alert ("Why not?") } -function openPopUp(args){ +function openPopUp(args, title, h, w, resize, status, scrollbar){ if(thePopUp && thePopUp.open && !thePopUp.closed){ thePopUp.focus(); + }else{ //mozilla seems to want a full url - args = getHostURL()+args; - thePopUp = window.open(args,"learnerPop","HEIGHT=450,WIDTH=550,resizable,scrollbars"); + + var args = getHostURL()+args; + thePopUp = window.open(args,title,"HEIGHT="+h+",WIDTH="+w+",resizable="+resize+",scrollbars="+scrollbar+",status="+status+""); + //thePopUp = window.open(args,"learnerPop","HEIGHT=450,WIDTH=550,resizable,scrollbars"); } } @@ -131,7 +134,7 @@ } var learnWin = null; -function openPreview(sessionId) { +/*function openPreview(sessionId) { //debug: To check we are gettin a session Id to open var welcomeLearnerOpen = false; previewSessionId = sessionId; @@ -144,7 +147,7 @@ learnWin.focus(); -} +}*/ function openFilePopUp(args){