Index: lams_tool_forum/web/includes/scripts.jsp =================================================================== diff -u -r3de24b3fb4e2ead20d187f4b5000464ae2791262 -rcaa9a3e6d7c7a51d0852c6b350f05ee2a7d3fbab --- lams_tool_forum/web/includes/scripts.jsp (.../scripts.jsp) (revision 3de24b3fb4e2ead20d187f4b5000464ae2791262) +++ lams_tool_forum/web/includes/scripts.jsp (.../scripts.jsp) (revision caa9a3e6d7c7a51d0852c6b350f05ee2a7d3fbab) @@ -6,6 +6,17 @@ window.opener.parent.location.href = ""; window.close(); } - - + function launchPopup(url) { + var instructionsWindow = null; +// add the mac test back in when we have the platform detection working. +// if(mac){ +// window.open(url,'instructions','resizable,width=796,height=570,scrollbars'); +// }else{ + if(instructionsWindow && instructionsWindow.open && !instructionsWindow.closed){ + instructionsWindow.close(); + } + instructionsWindow = window.open(url,'newtopic','resizable,width=796,height=570,scrollbars'); + instructionsWindow.window.focus(); +// } + } //-->