Fisheye: Tag 1.3 refers to a dead (removed) revision in file `lams_central/web/common.js'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_central/web/includes/javascript/common.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/common.js,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_central/web/includes/javascript/common.js 13 Sep 2005 04:15:36 -0000 1.1 @@ -0,0 +1,18 @@ + + + var instructionsWindow = null; + /** + * Launches the popup window for the instruction files + */ + function launchInstructionsPopup(url) { +// 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,'instructions','resizable,width=796,height=570,scrollbars'); + instructionsWindow.window.focus(); +// } + } \ No newline at end of file Index: lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/ToolDownload.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/ToolDownload.html,v diff -u -r1.2 -r1.3 --- lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/ToolDownload.html 7 Sep 2005 07:18:09 -0000 1.2 +++ lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/ToolDownload.html 13 Sep 2005 04:15:09 -0000 1.3 @@ -140,7 +140,7 @@ </tr>
- The launchInstructionsPopup() method is defined in common.js, available as http://.../lams/common.js. + The launchInstructionsPopup() method is defined in common.js, available as http://.../lams/includes/javascript/common.js.
For an example of this servlet being used, have a look at the lams_tool_imscp project. The jsps/authoring/forum/instructions.jsp calls the servlet and includes/header.jsp Index: lams_contentrepository/src/java/org/lamsfoundation/lams/contentrepository/client/ToolDownload.java =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/src/java/org/lamsfoundation/lams/contentrepository/client/ToolDownload.java,v diff -u -r1.1 -r1.2 --- lams_contentrepository/src/java/org/lamsfoundation/lams/contentrepository/client/ToolDownload.java 27 Jul 2005 05:04:46 -0000 1.1 +++ lams_contentrepository/src/java/org/lamsfoundation/lams/contentrepository/client/ToolDownload.java 13 Sep 2005 04:15:09 -0000 1.2 @@ -71,7 +71,7 @@ * </tr> * *
- * The launchInstructionsPopup() method is defined in common.js, available as http://.../lams/common.js. + * The launchInstructionsPopup() method is defined in common.js, available as http://.../lams/includes/javascript/common.js. *
* For an example of this servlet being used, have a look at the lams_tool_imscp project. * The jsps/authoring/forum/instructions.jsp calls the servlet and includes/header.jsp Index: lams_tool_forum/web/includes/header.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/includes/Attic/header.jsp,v diff -u -r1.2 -r1.3 --- lams_tool_forum/web/includes/header.jsp 27 Jul 2005 05:22:59 -0000 1.2 +++ lams_tool_forum/web/includes/header.jsp 13 Sep 2005 04:14:41 -0000 1.3 @@ -12,7 +12,7 @@