Index: lams_central/web/author.jsp =================================================================== diff -u -r4ea9e68fda08030b2caf1b9284d7b8826e3f5c0f -r979548f9d216c9eff0a3b13b7ba883318637db68 --- lams_central/web/author.jsp (.../author.jsp) (revision 4ea9e68fda08030b2caf1b9284d7b8826e3f5c0f) +++ lams_central/web/author.jsp (.../author.jsp) (revision 979548f9d216c9eff0a3b13b7ba883318637db68) @@ -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 @@