Regex to change the javascript to make cursor start in barcode box

This commit is contained in:
rangi 2002-06-28 23:43:16 +00:00
parent a74189dac9
commit c4d0d2f54e
1 changed files with 7 additions and 1 deletions

View File

@ -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}."<br>";