Bug 8524 follow-up: fix Javascript syntax error
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
7c22380242
commit
6c77b4d117
2 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ sub get_barcode {
|
|||
fnum = i;
|
||||
}
|
||||
}
|
||||
if (\$('#' + id).val() == '' || force) {
|
||||
if (\$('#' + id).val() == '') {
|
||||
\$('#' + id).val(document.f.field_value[fnum].value + '$nextnum');
|
||||
}
|
||||
";
|
||||
|
|
|
@ -91,7 +91,7 @@ sub plugin_javascript {
|
|||
|
||||
# default js body (if not filled by hbyymmincr)
|
||||
$scr or $scr = <<END_OF_JS;
|
||||
if (\$('#' + id).val() == '' || force) {
|
||||
if (\$('#' + id).val() == '') {
|
||||
\$('#' + id).val('$nextnum');
|
||||
}
|
||||
END_OF_JS
|
||||
|
|
Loading…
Reference in a new issue