--- loncom/html/res/adm/pages/bookmarkmenu/bookmarklib.js 2003/06/23 19:03:33 1.20
+++ loncom/html/res/adm/pages/bookmarkmenu/bookmarklib.js 2006/04/20 04:08:04 1.21
@@ -1,7 +1,7 @@
// The LearningOnline Network with CAPA
// bookmarklib.js
//
-// $Id: bookmarklib.js,v 1.20 2003/06/23 19:03:33 www Exp $
+// $Id: bookmarklib.js,v 1.21 2006/04/20 04:08:04 albertel Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -405,7 +405,11 @@ function newLink(name, url) {
}
function linkGoto() {
- self.opener.clientwindow.location.href=this.url;
+ if (typeof(self.opener.clientwindow) != 'undefined') {
+ self.opener.clientwindow.location.href=this.url;
+ } else {
+ self.opener.location.href=this.url;
+ }
}
function linkEdit() {