Enabling popup function in javascript (previously disabled to prevent popups)
authoroleonard <oleonard>
Fri, 14 Jan 2005 21:19:15 +0000 (21:19 +0000)
committeroleonard <oleonard>
Fri, 14 Jan 2005 21:19:15 +0000 (21:19 +0000)
koha-tmpl/intranet-tmpl/npl/en/includes/doc-head-circ-close.inc
koha-tmpl/intranet-tmpl/npl/en/includes/doc-head-close-addbiblio.inc
koha-tmpl/intranet-tmpl/npl/en/includes/doc-head-close.inc

index d95f5f7..faada5b 100644 (file)
@@ -7,9 +7,8 @@
 <script language="JavaScript" type="text/javascript">
 <!-- Hide from old browsers
 function openWindow(targeturl, windowname) {
-// newwin =
-// window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
-       location.href = targeturl;
+       newwin =
+       window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
 }
  
        var newwin;
index 20b45ff..bcabe0e 100644 (file)
@@ -8,9 +8,8 @@
 <script language="JavaScript" type="text/javascript">
 <!-- Hide from old browsers
 function openWindow(targeturl, windowname) {
-// newwin =
-// window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
-       location.href = targeturl;
+       newwin =
+       window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
 }
  
        var newwin;
index e263746..fe12685 100644 (file)
@@ -8,9 +8,8 @@
 
 <!-- Hide from old browsers
 function openWindow(targeturl, windowname) {
-// newwin =
-// window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
-       location.href = targeturl;
+       newwin =
+       window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
 }
  
        var newwin;