X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/54e4131e091831e00a861fe2c4f53e344b87ddca..6dd6719d91cf5a48acb6fb3731f9e143d7a7d83b:/js/vendor_selection.js diff --git a/js/vendor_selection.js b/js/vendor_selection.js index f28ac516d..3d98f4b3d 100644 --- a/js/vendor_selection.js +++ b/js/vendor_selection.js @@ -2,13 +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) + "&" + - "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); }