Added urlpath to smtpTest function

pull/879/head
BlackDex 5 years ago
parent f6de144cbb
commit 97fb7b5b96

@ -286,7 +286,7 @@
inv = document.getElementById("smtp-test-email"); inv = document.getElementById("smtp-test-email");
data = JSON.stringify({ "email": inv.value }); data = JSON.stringify({ "email": inv.value });
inv.value = ""; inv.value = "";
_post("/admin/test/smtp/", _post("{{urlpath}}/admin/test/smtp/",
"SMTP Test email sent correctly", "SMTP Test email sent correctly",
"Error sending SMTP test email", data); "Error sending SMTP test email", data);
return false; return false;

Loading…
Cancel
Save