X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=js%2Fdunning.js;h=060dbbd2f29fb571d3a3fa36b483858eb7dac4c0;hb=2819d504f3081d3a5ce9821ba8d85fab36d65af5;hp=2766fc6c1e6f7bcd4c56ff508df758c2c193d774;hpb=4d983050f03928be977a3f04ef460ac0ff39f628;p=kivitendo-erp.git diff --git a/js/dunning.js b/js/dunning.js index 2766fc6c1..060dbbd2f 100644 --- a/js/dunning.js +++ b/js/dunning.js @@ -4,11 +4,11 @@ function set_email_window(input_subject, input_body, input_attachment) { "action=set_email&" + "login=" + encodeURIComponent(document.getElementsByName("login")[0].value)+ "&"+ "password=" + encodeURIComponent(document.getElementsByName("password")[0].value) + "&" + - "email_subject=" + escape(document.getElementsByName(input_subject)[0].value) + "&" + - "email_body=" + escape(document.getElementsByName(input_body)[0].value) + "&" + - "email_attachment=" + escape(document.getElementsByName(input_attachment)[0].value) + "&" + - "input_subject=" + escape(input_subject) + "&" + - "input_body=" + escape(input_body) + "&" + - "input_attachment=" + escape(input_attachment); + "email_subject=" + escape_more(document.getElementsByName(input_subject)[0].value) + "&" + + "email_body=" + escape_more(document.getElementsByName(input_body)[0].value) + "&" + + "email_attachment=" + escape_more(document.getElementsByName(input_attachment)[0].value) + "&" + + "input_subject=" + escape_more(input_subject) + "&" + + "input_body=" + escape_more(input_body) + "&" + + "input_attachment=" + escape_more(input_attachment); window.open(url, "_new_generic", parm); }