http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4866 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Version|rel_3_0 |HEAD --- Comment #1 from M. de Rooy <m.de.rooy@rijksmuseum.nl> 2010-11-04 10:50:13 UTC --- The patch sent for master in July still holds on 3.2. diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index ea4daf9..df08c0e 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -523,8 +523,10 @@ foreach my $tag (sort keys %{$tagslib}) { if (do $plugin) { my $extended_param = plugin_parameters( $dbh, $temp, $tagslib, $subfield_data{id}, \@loop_data ); my ( $function_name, $javascript ) = plugin_javascript( $dbh, $temp, $tagslib, $subfield_data{id}, \@loop_data ); + my $change= index($javascript, 'function Change')>-1?"return Change$function_name($subfield_data{random}, '$subfield_data{id}');": 'return 1;'; #enhancement 4866 $subfield_data{marc_value} = qq[<input $attributes onfocus="Focus$function_name($subfield_data{random}, '$subfield_data{id}');" + onchange=" $change" onblur=" Blur$function_name($subfield_data{random}, '$subfield_data{id}');" /> <a href="#" class="buttonDot" onclick="Clic$function_name('$subfield_data{id}'); return false;" title="Tag Editor">...</a> $javascript]; -- -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.