X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/5b22b6b5b7dbb290048cd15b3ede7d18cba4d09c..28d69bb85e934088a56e6e8458cd08d3794e1f8b:/js/delivery_customer_selection.js diff --git a/js/delivery_customer_selection.js b/js/delivery_customer_selection.js index 89a9a8972..89f7740ea 100644 --- a/js/delivery_customer_selection.js +++ b/js/delivery_customer_selection.js @@ -2,10 +2,11 @@ function delivery_customer_selection_window(input_name, input_id) { var parm = centerParms(600,500) + ",width=600,height=500,status=yes,scrollbars=yes"; var name = document.getElementsByName(input_name)[0].value; url = "common.pl?" + + "INPUT_ENCODING=UTF-8&" + "action=delivery_customer_selection&" + - "name=" + escape(name) + "&" + - "input_name=" + escape(input_name) + "&" + - "input_id=" + escape(input_id) + "name=" + encodeURIComponent(name) + "&" + + "input_name=" + encodeURIComponent(input_name) + "&" + + "input_id=" + encodeURIComponent(input_id) //alert(url); window.open(url, "_new_generic", parm); }