View | Details | Raw Unified | Return to bug 8683
Collapse All | Expand All

(-)a/C4/Items.pm (-3 / +2 lines)
Lines 2797-2810 sub PrepareItemrecordDisplay { Link Here
2797
                            my $extended_param = plugin_parameters( $dbh, undef, $tagslib, $subfield_data{id}, undef );
2797
                            my $extended_param = plugin_parameters( $dbh, undef, $tagslib, $subfield_data{id}, undef );
2798
                            my ( $function_name, $javascript ) = plugin_javascript( $dbh, undef, $tagslib, $subfield_data{id}, undef );
2798
                            my ( $function_name, $javascript ) = plugin_javascript( $dbh, undef, $tagslib, $subfield_data{id}, undef );
2799
                            $subfield_data{random}     = int(rand(1000000));    # why do we need 2 different randoms?
2799
                            $subfield_data{random}     = int(rand(1000000));    # why do we need 2 different randoms?
2800
                            $subfield_data{marc_value} = qq[<input tabindex="1" id="$subfield_data{id}" name="field_value" class="input_marceditor" size="67" maxlength="255"
2800
                            $subfield_data{marc_value} = qq[<input type="text" tabindex="1" id="$subfield_data{id}" name="field_value" class="input_marceditor" size="67" maxlength="255"
2801
                                onfocus="Focus$function_name($subfield_data{random}, '$subfield_data{id}');"
2801
                                onfocus="Focus$function_name($subfield_data{random}, '$subfield_data{id}');"
2802
                                 onblur=" Blur$function_name($subfield_data{random}, '$subfield_data{id}');" />
2802
                                 onblur=" Blur$function_name($subfield_data{random}, '$subfield_data{id}');" />
2803
                                <a href="#" class="buttonDot" onclick="Clic$function_name('$subfield_data{id}'); return false;" title="Tag Editor">...</a>
2803
                                <a href="#" class="buttonDot" onclick="Clic$function_name('$subfield_data{id}'); return false;" title="Tag Editor">...</a>
2804
                                $javascript];
2804
                                $javascript];
2805
                        } else {
2805
                        } else {
2806
                            warn "Plugin Failed: $plugin";
2806
                            warn "Plugin Failed: $plugin";
2807
                            $subfield_data{marc_value} = qq(<input tabindex="1" id="$subfield_data{id}" name="field_value" class="input_marceditor" size="67" maxlength="255" />); # supply default input form
2807
                            $subfield_data{marc_value} = qq(<input type="text" tabindex="1" id="$subfield_data{id}" name="field_value" class="input_marceditor" size="67" maxlength="255" />); # supply default input form
2808
                        }
2808
                        }
2809
                }
2809
                }
2810
                elsif ( $tag eq '' ) {       # it's an hidden field
2810
                elsif ( $tag eq '' ) {       # it's an hidden field
2811
- 

Return to bug 8683