X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/81d1ae0f68bcc51a95d90b3cd6d8786231d29979..6b063f3c88f7ca16e83a19759441a05e0ff84a47:/js/calculate_qty.js diff --git a/js/calculate_qty.js b/js/calculate_qty.js index fb04cd7cd..4a7f91bcc 100644 --- a/js/calculate_qty.js +++ b/js/calculate_qty.js @@ -8,12 +8,12 @@ function calculate_qty_selection_window(input_name, alu, formel, row) { } else var action = "calculate_qty"; url = "common.pl?" + "action=" + action + "&" + - "name=" + escape(name) + "&" + - "input_name=" + escape(input_name) + "&" + - "description=" + escape(description) + "&" + - "qty=" + escape(qty) + "&" + - "row=" + escape(row) + "&" + - "formel=" + escape(document.getElementsByName(formel)[0].value) + "name=" + encodeURIComponent(name) + "&" + + "input_name=" + encodeURIComponent(input_name) + "&" + + "description=" + encodeURIComponent(description) + "&" + + "qty=" + encodeURIComponent(qty) + "&" + + "row=" + encodeURIComponent(row) + "&" + + "formel=" + encodeURIComponent(document.getElementsByName(formel)[0].value) //alert(url); window.open(url, "_new_generic", parm); }