From 4682f9ae39171651eb19b94a71bdd95afe645900 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Tue, 16 Oct 2007 16:02:38 -0500 Subject: [PATCH] reintroducing size for fields in addbiblio Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- cataloguing/addbiblio.pl | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl index 5d29aa6903..5d96c455a0 100755 --- a/cataloguing/addbiblio.pl +++ b/cataloguing/addbiblio.pl @@ -328,6 +328,8 @@ sub create_input { value=\"$value\" class=\"input_marceditor\" tabindex=\"1\" + size=\"67\" + maxlength=\"255\" \/> {$tag}->{$subfield}->{authtypecode}."&index=$subfield_data{id}','$subfield_data{id}'); return false;\" title=\"Tag Editor\">... @@ -349,16 +351,18 @@ sub create_input { # my ( $function_name, $javascript,$extended_param ); $subfield_data{marc_value} = - " - ... - $javascript"; + onfocus=\"Focus$function_name($index_tag)\" + size=\"67\" + maxlength=\"255\" + onblur=\"Blur$function_name($index_tag); \" \/> + ... + $javascript"; # it's an hidden field } elsif ( $tag eq '' ) { @@ -367,6 +371,8 @@ sub create_input { type=\"hidden\" id=\"".$subfield_data{id}."\" name=\"".$subfield_data{id}."\" + size=\"67\" + maxlength=\"255\" value=\"$value\" \/> "; } @@ -377,6 +383,8 @@ sub create_input { name=\"".$subfield_data{id}."\" class=\"input_marceditor\" tabindex=\"1\" + size=\"67\" + maxlength=\"255\" value=\"$value\" \/>"; @@ -400,6 +408,8 @@ sub create_input { name=\"".$subfield_data{id}."\" class=\"input_marceditor\" tabindex=\"1\" + size=\"67\" + maxlength=\"255\" >$value "; } @@ -410,6 +420,8 @@ sub create_input { name=\"".$subfield_data{id}."\" value=\"$value\" tabindex=\"1\" + size=\"67\" + maxlength=\"255\" class=\"input_marceditor\" \/> "; -- 2.39.5