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

(-)a/C4/Barcodes/ValueBuilder.pm (-1 / +1 lines)
Lines 64-70 sub get_barcode { Link Here
64
                fnum = i;
64
                fnum = i;
65
            }
65
            }
66
        }
66
        }
67
    if (\$('#' + id).val() == '' || force) {
67
    if (\$('#' + id).val() == '') {
68
        \$('#' + id).val(document.f.field_value[fnum].value + '$nextnum');
68
        \$('#' + id).val(document.f.field_value[fnum].value + '$nextnum');
69
    }
69
    }
70
    ";
70
    ";
(-)a/cataloguing/value_builder/barcode_manual.pl (-2 / +1 lines)
Lines 91-97 sub plugin_javascript { Link Here
91
91
92
# default js body (if not filled by hbyymmincr)
92
# default js body (if not filled by hbyymmincr)
93
    $scr or $scr = <<END_OF_JS;
93
    $scr or $scr = <<END_OF_JS;
94
    if (\$('#' + id).val() == '' || force) {
94
    if (\$('#' + id).val() == '') {
95
        \$('#' + id).val('$nextnum');
95
        \$('#' + id).val('$nextnum');
96
    }
96
    }
97
END_OF_JS
97
END_OF_JS
98
- 

Return to bug 8524