Minor change to fix Bug 3086, Can't close circulation date-picker popup in Internet...
authorOwen Leonard <oleonard@myacpl.org>
Thu, 23 Jul 2009 14:44:02 +0000 (09:44 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Sat, 1 Aug 2009 12:27:23 +0000 (08:27 -0400)
I don't know why this edit fixes the problem, but it does. Tested in IE6, IE7, and IE8 on Windows XP.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl

index 050c72c..e261b9f 100644 (file)
@@ -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).