X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=js%2Fdelivery_customer_selection.js;h=89f7740ea7bc63d4d8a6ce0833997e6b2e0ba6f2;hb=f8fff60be1abb9986486cc7367747ee16d829116;hp=83b226d026daa809fbe24a5b687452a218647115;hpb=54e4131e091831e00a861fe2c4f53e344b87ddca;p=kivitendo-erp.git diff --git a/js/delivery_customer_selection.js b/js/delivery_customer_selection.js index 83b226d02..89f7740ea 100644 --- a/js/delivery_customer_selection.js +++ b/js/delivery_customer_selection.js @@ -2,13 +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) + "&" + - "path=" + escape(document.getElementsByName("path")[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); }