[Koha-patches] [PATCH] javascript redirect when selecting a patron on circulation.pl Patron Selection Screen
Michael Hafen
mdhafen at tech.washk12.org
Thu Aug 28 00:46:57 CEST 2008
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 => \@values,
-labels => \%labels,
+ -onclick => "window.location = '/cgi-bin/koha/circ/circulation.pl?borrowernumber=' + this.value;",
-size => 7,
-tabindex => '',
-multiple => 0
--
1.5.4.3
More information about the Koha-patches
mailing list