Skip to content
Snippets Groups Projects
Commit 4bc0247a authored by fsteger's avatar fsteger
Browse files

Alter VHO mail function

parent 213c85e3
No related branches found
No related tags found
No related merge requests found
Pipeline #259336 passed
...@@ -83,10 +83,16 @@ $(document).ready(function () { ...@@ -83,10 +83,16 @@ $(document).ready(function () {
success: function (data) { success: function (data) {
// generate e-mail // generate e-mail
const email = $mail; const email = $mail;
const cc = $dp_mail; const dp = $dp_mail;
const subject = data['subject']; const subject = data["subject"];
const content = data['content']; const content = data["content"];
let mail = "mailto:" + email + "?cc=" + cc + "&subject=" + subject + "&body=" + content; let mail =
"mailto:" +
email + ';' + dp +
"?subject=" +
subject +
"&body=" +
content;
let a = document.createElement("a"); let a = document.createElement("a");
a.href = mail; a.href = mail;
a.target = "_top"; a.target = "_top";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment