[Koha-patches] [PATCH] Minor change to fix Bug 3086, Can't close circulation date-picker popup in Internet Explorer

Owen Leonard oleonard at myacpl.org
Thu Jul 23 16:44:02 CEST 2009


I don't know why this edit fixes the problem, but it does. Tested in IE6, IE7, and IE8 on Windows XP.
---
 .../prog/en/modules/circ/circulation.tmpl          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl
index 050c72c..e261b9f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl
@@ -282,7 +282,7 @@ No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
                           }
                      };
                      function refocus(calendar) {
-                        document.getElementById('barcode').focus();
+                        $('#barcode').focus();
                         calendar.hide();
                      };
 				//#TODO - ADD syspref (AllowPostDatedCheckouts).
-- 
1.5.6.5




More information about the Koha-patches mailing list