From c4d0d2f54ef2b4662bab242aae73a424fc6700cd Mon Sep 17 00:00:00 2001 From: rangi Date: Fri, 28 Jun 2002 23:43:16 +0000 Subject: [PATCH] Regex to change the javascript to make cursor start in barcode box --- circ/branchtransfers.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/circ/branchtransfers.pl b/circ/branchtransfers.pl index 5e0e36ba98..af500a89e2 100755 --- a/circ/branchtransfers.pl +++ b/circ/branchtransfers.pl @@ -277,7 +277,13 @@ EOF print $query->header; print startpage; -print startmenu('circulation'); +#print startmenu('circulation'); +my @inp=startmenu('circulation'); +my $count=@inp; +for (my $i=0;$i<$count;$i++){ + $inp[$i]=~ s/document.forms\[0\].elements\[0\]/document\.forms\[0\]\.elements\[1\]/; + } +print @inp; #foreach my $key (%$messages) { # print $key." : ".$messages->{$key}."
"; -- 2.11.0