little something
This commit is contained in:
parent
8906ca7e39
commit
47713d12ab
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ ready = function() {
|
|||
barcode = $(this).find("input[type=number]").val();
|
||||
$("#from_barcode_form")[0].reset();
|
||||
$.ajax({
|
||||
url: $("#from_barcode_form").data("url") + barcode,
|
||||
url: $("#from_barcode_form").data("url") + "/" + barcode,
|
||||
success: function(data) {
|
||||
if (data != null) {
|
||||
increment_product(data["id"]);
|
||||
|
|
Loading…
Reference in a new issue