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

(-)a/cataloguing/additem.pl (-3 / +2 lines)
Lines 147-153 sub generate_subfield_form { Link Here
147
            }
147
            }
148
        }
148
        }
149
        
149
        
150
        if ($frameworkcode eq 'FA' && $subfieldlib->{kohafield} eq 'items.barcode'){
150
        if ($frameworkcode eq 'FA' && $subfieldlib->{kohafield} eq 'items.barcode' && !$value){
151
	    my $input = new CGI;
151
	    my $input = new CGI;
152
	    $value = $input->param('barcode');
152
	    $value = $input->param('barcode');
153
	}
153
	}
Lines 251-257 sub generate_subfield_form { Link Here
251
                        <a href="#" class="buttonDot" onclick="Clic$function_name('$subfield_data{id}'); return false;" title="Tag Editor">...</a>
251
                        <a href="#" class="buttonDot" onclick="Clic$function_name('$subfield_data{id}'); return false;" title="Tag Editor">...</a>
252
                        $javascript];
252
                        $javascript];
253
                } else {
253
                } else {
254
                    warn "Plugin Failed: $plugin";
254
                    warn; "Plugin Failed: $plugin";
255
                    $subfield_data{marc_value} = "<input $attributes />"; # supply default input form
255
                    $subfield_data{marc_value} = "<input $attributes />"; # supply default input form
256
                }
256
                }
257
        }
257
        }
258
- 

Return to bug 7485