X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=js%2Fvendor_selection.js;h=3d98f4b3d9cdbd73f4603853b0420e37101a0820;hb=40f3befb965dd6125c0da70ad292f41a5d168d1c;hp=41f6e176667a9c74edb8ce06742c42977d183838;hpb=5b22b6b5b7dbb290048cd15b3ede7d18cba4d09c;p=kivitendo-erp.git diff --git a/js/vendor_selection.js b/js/vendor_selection.js index 41f6e1766..3d98f4b3d 100644 --- a/js/vendor_selection.js +++ b/js/vendor_selection.js @@ -2,10 +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&" + - "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); }