From 54b4f44df923ce638d682cc33cac3656a43e66c7 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 Signed-off-by: Henri-Damien LAURENT --- 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 79fb642af5..9fc246faeb 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