From 423b8a999f500e06e534b2b5fa87ceb889357791 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 20 Jan 2020 12:41:51 +0000 Subject: [PATCH] Bug 13305: Remove tabindex from PrepareItemsRecordDisplay Test plan: Check the tab order of the item block on additem.pl (item editor), Acquisition (neworderempty or addiso2709), serials-edit.pl. You could also check services/itemrecorddisplay.pl and pass a biblionumber; this script is used in additem.js for cataloguing and acquisition. Signed-off-by: Marcel de Rooy Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit 5b043c6b4cd71455e0c342d74b9952d8231d069b) Signed-off-by: Lucas Gass --- C4/Items.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/C4/Items.pm b/C4/Items.pm index 2eebe80ae6..a8b8a1209f 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -2535,17 +2535,17 @@ sub PrepareItemrecordDisplay { my $tab= $plugin->noclick? '-1': ''; my $class= $plugin->noclick? ' disabled': ''; my $title= $plugin->noclick? 'No popup': 'Tag editor'; - $subfield_data{marc_value} = qq[...\n].$plugin->javascript; + $subfield_data{marc_value} = qq[...\n].$plugin->javascript; } else { warn $plugin->errstr; $subfield_data{marc_value} = qq(); # supply default input form } } elsif ( $tag eq '' ) { # it's an hidden field - $subfield_data{marc_value} = qq(); + $subfield_data{marc_value} = qq(); } elsif ( $tagslib->{$tag}->{$subfield}->{'hidden'} ) { # FIXME: shouldn't input type be "hidden" ? - $subfield_data{marc_value} = qq(); + $subfield_data{marc_value} = qq(); } elsif ( length($defaultvalue) > 100 or (C4::Context->preference("marcflavour") eq "UNIMARC" and @@ -2554,9 +2554,9 @@ sub PrepareItemrecordDisplay { 500 <= $tag && $tag < 600 ) ) { # oversize field (textarea) - $subfield_data{marc_value} = qq(\n"); + $subfield_data{marc_value} = qq(\n"); } else { - $subfield_data{marc_value} = qq(); + $subfield_data{marc_value} = qq(); } push( @loop_data, \%subfield_data ); } -- 2.39.5