]> git.koha-community.org Git - koha.git/commit
Setting focus on form fields
authorOwen Leonard <oleonard@myacpl.org>
Sat, 18 Apr 2009 21:45:22 +0000 (16:45 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Sat, 18 Apr 2009 23:36:11 +0000 (18:36 -0500)
commit475fcc1f51be3ba8b10020ee6db73b9c1deac828
tree801c0acd3d09bcdf0ea30034feca95fafe36e3fc
parenta7ccef4f903a70190311843d65e874049fc5e223
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>
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