From b105b603d52ff63dc6862c730b96ac3738a0cb6f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 5 Jan 2022 11:25:12 +0100 Subject: [PATCH] Bug 29543: Remove inputfocus variable It's not used in template Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall (cherry picked from commit 7ea2d7cd68bef8d59807f221a23a680361d24b1a) Signed-off-by: Victor Grousset/tuxayo (cherry picked from commit 9108a00a4d1047c230e224b81a73b14ae7281f36) Signed-off-by: Andrew Fuerste-Henry --- opac/sco/sco-main.pl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl index da4fa2b070..a5894f4a67 100755 --- a/opac/sco/sco-main.pl +++ b/opac/sco/sco-main.pl @@ -28,8 +28,6 @@ # The checkout permission comes form the CGI cookie/session of a staff user. # The patron is not really logging in here in the same way as they do on the # rest of the OPAC. So don't confuse loggedinuser with the patron user. -# -# FIXME: inputfocus not really used in TMPL use Modern::Perl; @@ -255,7 +253,6 @@ elsif ( $patron && ( $op eq 'checkout' ) ) { confirm => "Issuing title: " . $item->biblio->title, barcode => $barcode, hide_main => 1, - inputfocus => 'confirm', ); } } @@ -334,10 +331,7 @@ if ($patron) { opacnote => $patron->opacnote, ); - my $inputfocus = ($return_only == 1) ? 'returnbook' : - ($confirm_required == 1) ? 'confirm' : 'barcode' ; $template->param( - inputfocus => $inputfocus, nofines => 1, ); -- 2.39.5