X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=js%2Fvendor_selection.js;h=3d98f4b3d9cdbd73f4603853b0420e37101a0820;hb=bcdc9f7040d4bc0c0b4d7ce77f1afc29543b04a4;hp=19e232d4e70ea76ad3aa3e8858e9786ddec11675;hpb=d629acd82a27e980899a044ca8b0f4becc8e94bb;p=kivitendo-erp.git diff --git a/js/vendor_selection.js b/js/vendor_selection.js index 19e232d4e..3d98f4b3d 100644 --- a/js/vendor_selection.js +++ b/js/vendor_selection.js @@ -2,12 +2,11 @@ function vendor_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=vendor_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); }