Small fix to allow help popup in IE9, not 7 or 8 - bug 7339
authorDuncan Tyler <duncan@catalyst.net.nz>
Tue, 20 Dec 2011 00:37:18 +0000 (13:37 +1300)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 10 Feb 2012 14:12:36 +0000 (15:12 +0100)
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>

koha-tmpl/intranet-tmpl/prog/en/includes/header.inc

index b43330c..b2f532b 100644 (file)
@@ -72,6 +72,6 @@
         [% ELSE %]
             You are not logged in |
         [% END %]
-        <a href="/cgi-bin/koha/help.pl" id="helper" onclick="window.open('/cgi-bin/koha/help.pl?url='+escape(document.url),'Koha_Help','width=600,height=600,toolbar=false,scrollbars=yes'); return false;">[ ? ]</a>
+        <a href="/cgi-bin/koha/help.pl" id="helper" onclick="var link=window.open('','Koha_Help','width=600,height=600,toolbar=false,scrollbars=yes'); link.location='/cgi-bin/koha/help.pl'; return false;">[ ? ]</a>
     </div>
 </div>