double barcodes

This commit is contained in:
benji 2015-10-27 20:57:43 +01:00
parent 91061f053f
commit 80899f21aa

View file

@ -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") + "/barcodes/" + barcode,
url: $("#from_barcode_form").data("url") + barcode,
success: function(data) {
if (data != null) {
increment_product(data["id"]);