Skip to content
Snippets Groups Projects
Commit 1a52bbc4 authored by Christian Dresen's avatar Christian Dresen
Browse files

[WarpFood] Fixed small issue with JavaScript

parent 93c58f7d
No related branches found
No related tags found
No related merge requests found
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
function choose_food_product(name, size, price) { function choose_food_product(name, size, price) {
document.getElementById("id_article").value = name; document.getElementById("id_article").value = name;
document.getElementById("id_size").value = size; document.getElementById("id_size").value = size;
document.getElementById("id_price").value = price; document.getElementById("id_price").value = price.replace(/,/g, '.');
$('#product_modal').modal('hide') $('#product_modal').modal('hide')
} }
</script> </script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment