X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/d629acd82a27e980899a044ca8b0f4becc8e94bb..6f266e929ff3eaefc84c34b46fa452c50eecbcf4:/js/delivery_customer_selection.js diff --git a/js/delivery_customer_selection.js b/js/delivery_customer_selection.js index a94f3c067..89f7740ea 100644 --- a/js/delivery_customer_selection.js +++ b/js/delivery_customer_selection.js @@ -2,12 +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&" + - "login=" + escape(document.getElementsByName("login")[0].value) + "&" + - "password=" + escape(document.getElementsByName("password")[0].value) + "&" + - "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); }