Index: lams_central/web/authoringConfirm.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/authoringConfirm.jsp,v
diff -u -r1.2 -r1.3
--- lams_central/web/authoringConfirm.jsp 11 May 2006 06:24:35 -0000 1.2
+++ lams_central/web/authoringConfirm.jsp 12 May 2006 00:25:45 -0000 1.3
@@ -17,8 +17,12 @@
Index: lams_central/web/WEB-INF/tags/AuthoringButton.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_central/web/WEB-INF/tags/AuthoringButton.tag,v
diff -u -r1.1 -r1.2
--- lams_central/web/WEB-INF/tags/AuthoringButton.tag 11 May 2006 06:00:31 -0000 1.1
+++ lams_central/web/WEB-INF/tags/AuthoringButton.tag 12 May 2006 00:25:45 -0000 1.2
@@ -66,7 +66,10 @@
if(confirm("")){
location.href="";
//just for depress alert window when call window.close()
- window.opener = "authoring"
+ //only available for IE browser
+ var userAgent=navigator.userAgent;
+ if(userAgent.indexOf('MSIE') != -1)
+ window.opener = "authoring"
window.close();
}
}
Index: lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag,v
diff -u -r1.1 -r1.2
--- lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag 11 May 2006 06:00:48 -0000 1.1
+++ lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag 12 May 2006 00:26:11 -0000 1.2
@@ -66,7 +66,10 @@
if(confirm("")){
location.href="";
//just for depress alert window when call window.close()
- window.opener = "authoring"
+ //only available for IE browser
+ var userAgent=navigator.userAgent;
+ if(userAgent.indexOf('MSIE') != -1)
+ window.opener = "authoring"
window.close();
}
}