From e3d787fc2257b1703046aa751ede1245eae6e0c6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sat, 4 Apr 2009 10:19:33 -0500 Subject: [PATCH] Another try at fixing Bug 2949. This fix is in circulation.tmpl instead of the search box include. That eliminates the clash with returns.pl. Focus works correctly when checking out, when circulation.pl is at its "empty" state, and when patron selection form is displayed. Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl | 1 + 1 file changed, 1 insertion(+) 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 681092ff86..4b0b5dfc0a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl @@ -15,6 +15,7 @@ $.tablesorter.addParser({ format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, type: 'text' }); +window.onload=function(){ $('#findborrower').focus(); }; $(document).ready(function() { $('#patronlists > ul').tabs(); $.tablesorter.defaults.widgets = ['zebra']; -- 2.39.5