From 6ac0157ef2905a8ed572cae0e83d31ded91c5512 Mon Sep 17 00:00:00 2001
From: Owen Leonard <oleonard@myacpl.org>
Date: Thu, 23 Jul 2009 09:39:59 -0500
Subject: [PATCH] Minor change to fix Bug 3086, Can't close circulation date-picker popup in Internet Explorer
Content-Type: text/plain; charset="utf-8"

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