From: Michael Hafen Date: Wed, 27 Aug 2008 22:46:57 +0000 (-0600) Subject: javascript redirect when selecting a patron on circulation.pl Patron Selection Screen X-Git-Tag: v3.00.01.005~62 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=9276e1cdd26fc97dc13dadf4e24365e65b4a1dbf;p=koha.git 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 --- diff --git a/circ/circulation.pl b/circ/circulation.pl index 9aa6e57ab7..f165eaefe4 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -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