X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=js%2Ffollow_up.js;h=4b11dcdb5ccdedc8505440253276df686cadceeb;hb=982a94229615d330902a99d1d941f4ef9d4d5d3f;hp=407341e976e303b4d50e015d582e2ed6e765bbc1;hpb=7a7f33b5c1b3531ab761adba1cf19d4ad68cffcd;p=kivitendo-erp.git diff --git a/js/follow_up.js b/js/follow_up.js index 407341e97..4b11dcdb5 100644 --- a/js/follow_up.js +++ b/js/follow_up.js @@ -4,6 +4,7 @@ function follow_up_window() { var parm = centerParms(width, height) + ",width=" + width + ",height=" + height + ",status=yes,scrollbars=yes"; url = "fu.pl?" + + "INPUT_ENCODING=UTF-8&" + "action=add" + "&" + "POPUP_MODE=1"; @@ -16,12 +17,12 @@ function follow_up_window() { var trans_info = document.getElementsByName("follow_up_trans_info_" + i); url += "&" + - "trans_id_" + i + "=" + escape_more(typeof trans_id != "undefined" ? trans_id[0].value : "") + "&" + - "trans_type_" + i + "=" + escape_more(typeof trans_type != "undefined" ? trans_type[0].value : "") + "&" + - "trans_info_" + i + "=" + escape_more(typeof trans_info != "undefined" ? trans_info[0].value : ""); + "trans_id_" + i + "=" + encodeURIComponent(typeof trans_id != "undefined" ? trans_id[0].value : "") + "&" + + "trans_type_" + i + "=" + encodeURIComponent(typeof trans_type != "undefined" ? trans_type[0].value : "") + "&" + + "trans_info_" + i + "=" + encodeURIComponent(typeof trans_info != "undefined" ? trans_info[0].value : ""); } - url += "&trans_rowcount=" + escape_more(trans_rowcount[0].value); + url += "&trans_rowcount=" + encodeURIComponent(trans_rowcount[0].value); } //alert(url);