Index: lams_central/web/author.jsp =================================================================== diff -u -rcad78e73cd579e5afd056c6c96532c1687cbce50 -rcbef8a1fa2f2ef910de552e2e9f73190a3f06452 --- lams_central/web/author.jsp (.../author.jsp) (revision cad78e73cd579e5afd056c6c96532c1687cbce50) +++ lams_central/web/author.jsp (.../author.jsp) (revision cbef8a1fa2f2ef910de552e2e9f73190a3f06452) @@ -112,15 +112,16 @@ alert ("Why not?") } -function openPopUp(args, title, h, w, resize, status, scrollbar){ +function openPopUp(args, title, h, w, resize, status, scrollbar, menubar){ if(thePopUp && thePopUp.open && !thePopUp.closed){ thePopUp.focus(); }else{ //mozilla seems to want a full url - var args = getHostURL()+args; - thePopUp = window.open(args,title,"HEIGHT="+h+",WIDTH="+w+",resizable="+resize+",scrollbars="+scrollbar+",status="+status+""); + //var args = getHostURL()+args; + alert('Opening Preview url') + thePopUp = window.open(args,title,"HEIGHT="+h+",WIDTH="+w+",resizable="+resize+",scrollbars="+scrollbar+",status="+status+",menubar="+menubar+""); //thePopUp = window.open(args,"learnerPop","HEIGHT=450,WIDTH=550,resizable,scrollbars"); } } @@ -134,6 +135,12 @@ } +function openPreview(args, title){ +var thePopup = null; + //alert('Opening Preview url') + thePopup = window.open(args,title,"height=600, width=800, resizable, scrollbar=yes, menubar=no, status=yes, toolbar=no"); + +} var learnWin = null; /*function openPreview(sessionId) { //debug: To check we are gettin a session Id to open @@ -224,7 +231,6 @@