@@ -, +, @@ Focustag_952_subfield_p_878344 Focustag_952_subfield_p_878344_handler jQuery 11 BindEventstag_952_subfield_p_878344 let loc = document.getElementsByName('items.homebranch')[0].value; --- C4/Barcodes/ValueBuilder.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/C4/Barcodes/ValueBuilder.pm +++ a/C4/Barcodes/ValueBuilder.pm @@ -64,13 +64,13 @@ sub get_barcode { if ( !form ) { form = document.getElementById('Aform'); } - for (i=0 ; i{loctag}' && form.subfield[i].value == '$args->{locsubfield}') { fnum = i; } } if (\$('#' + id).val() == '') { - \$('#' + id).val(form.field_value[fnum].value + '$nextnum'); + \$('#' + id).val(form.getElementsByClassName('input_marceditor')[fnum].value + '$nextnum'); } "; return $nextnum, $scr; --