little something

This commit is contained in:
benji 2015-11-05 19:52:34 +01:00
parent 8906ca7e39
commit 47713d12ab

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