Setting focus on form fields
authorOwen Leonard <oleonard@myacpl.org>
Sat, 18 Apr 2009 21:45:22 +0000 (16:45 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 26 May 2009 19:15:24 +0000 (21:15 +0200)
commit9949b23fcfc290ec1e43552fbf668467910f29ca
tree4d8036ed70e513304e735cc9c8c5c44fd1cad3c3
parent190394a5d99a205c3fde1e563150f3c3bde458a3
Setting focus on form fields

This patch includes an addition to the OPAC's default js (identical to one in the staff client) which lets you add a "focus" class to an element on the page and have javascript move the focus to that element (input or link).

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
koha-tmpl/opac-tmpl/prog/en/js/script.js
koha-tmpl/opac-tmpl/prog/en/modules/opac-sendbasketform.tmpl
koha-tmpl/opac-tmpl/prog/en/modules/opac-sendshelfform.tmpl