[Koha-patches] [PATCH] (bug #2949) autofocus on "checkout" if no borrower is selected
Owen Leonard
oleonard at myacpl.org
Thu Apr 2 15:59:00 CEST 2009
> +<!-- TMPL_UNLESS NAME="borrowernumber" -->
> +window.onload=function(){
> + document.getElementById('findborrower').focus();
> + };
> +<!-- /TMPL_UNLESS -->
Unfortunately this will steal the focus on other pages where focus on
the checkout box is unwanted, like on the check in screen.
-- Owen
--
Web Developer
Athens County Public Libraries
http://www.myacpl.org
More information about the Koha-patches
mailing list