[Koha-patches] [PATCH] [SIGNED-OFF] Bug 5815: Double clicking submits patron selection

Nicole C. Engard nengard at bywatersolutions.com
Sat Feb 26 22:21:33 CET 2011


From: Jared Camins-Esakov <jcamins at bywatersolutions.com>

Double clicking on an item in the list of matching names now automatically
submits the form when checking out to a patron by name rather than barcode.

Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
---
 circ/circulation.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/circ/circulation.pl b/circ/circulation.pl
index ab681f1..8a184d1 100755
--- a/circ/circulation.pl
+++ b/circ/circulation.pl
@@ -494,6 +494,7 @@ if ($borrowerslist) {
         -id       => 'borrowernumber',
         -values   => \@values,
         -labels   => \%labels,
+        -ondblclick => 'document.forms[\'mainform\'].submit()',
         -size     => 7,
         -tabindex => '',
         -multiple => 0
-- 
1.7.2.3



More information about the Koha-patches mailing list