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.
---
 circ/circulation.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/circ/circulation.pl b/circ/circulation.pl
index f2af9be..29cdfea 100755
--- a/circ/circulation.pl
+++ b/circ/circulation.pl
@@ -543,6 +543,7 @@ if ($borrowerslist) {
         -id       => 'borrowernumber',
         -values   => [EMAIL PROTECTED],
         -labels   => \%labels,
+       -onclick  => "window.location = 
'/cgi-bin/koha/circ/circulation.pl?borrowernumber=' + this.value;",
         -size     => 7,
         -tabindex => '',
         -multiple => 0
-- 
1.5.4.3

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to