Bloeder Bug: eine zu gefräßige INSERT legt zu allen Konten taxkeys an, was aber nicht...
[kivitendo-erp.git] / js / dunning.js
1 function set_email_window(input_subject, input_body, input_attachment) {
2   var parm = centerParms(800,600) + ",width=800,height=600,status=yes,scrollbars=yes";
3   var url = "dn.pl?" +
4     "action=set_email&" +
5     "login=" +  encodeURIComponent(document.getElementsByName("login")[0].value)+ "&"+
6     "password=" + encodeURIComponent(document.getElementsByName("password")[0].value) + "&" +
7     "email_subject=" + escape_more(document.getElementsByName(input_subject)[0].value) + "&" +
8     "email_body=" + escape_more(document.getElementsByName(input_body)[0].value) + "&" +
9     "email_attachment=" + escape_more(document.getElementsByName(input_attachment)[0].value) + "&" +
10     "input_subject=" + escape_more(input_subject)  + "&" +
11     "input_body=" + escape_more(input_body)  + "&" +
12     "input_attachment=" + escape_more(input_attachment);
13   window.open(url, "_new_generic", parm);
14 }