Index: lams_central/web/author.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/author.jsp,v diff -u -r1.13 -r1.14 --- lams_central/web/author.jsp 19 Jun 2006 05:39:29 -0000 1.13 +++ lams_central/web/author.jsp 22 Jun 2006 02:42:17 -0000 1.14 @@ -112,16 +112,15 @@ alert ("Why not?") } -function openPopUp(args, title, h, w, resize, status, scrollbar, menubar){ +function openPopUp(args, title, h, w, resize, status, scrollbar, menubar, toolbar){ if(thePopUp && thePopUp.open && !thePopUp.closed){ thePopUp.focus(); }else{ //mozilla seems to want a full url //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,title,"HEIGHT="+h+",WIDTH="+w+",resizable="+resize+",scrollbars="+scrollbar+",status="+status+",menubar="+menubar+", toolbar="+toolbar); //thePopUp = window.open(args,"learnerPop","HEIGHT=450,WIDTH=550,resizable,scrollbars"); } } @@ -135,12 +134,14 @@ } -function openPreview(args, title){ +/*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 @@ -231,8 +232,9 @@