javascript redirect when selecting a patron on circulation.pl Patron Selection Screen

This adds a little javascript to the Patron Selection form input after searching for a patron to check out to.
On click it redirects to checking out to the clicked patron.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Michael Hafen 2008-08-27 16:46:57 -06:00 committed by Henri-Damien LAURENT
parent 981b682b29
commit 9276e1cdd2
1 changed files with 1 additions and 0 deletions

View File

@ -523,6 +523,7 @@ if ($borrowerslist) {
-id => 'borrowernumber',
-values => \@values,
-labels => \%labels,
-onclick => "window.location = '/cgi-bin/koha/circ/circulation.pl?borrowernumber=' + this.value;",
-size => 7,
-tabindex => '',
-multiple => 0