From c54f542fb4c59c1b390809f4d018fc4bd947d02e Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Fri, 19 Apr 2013 10:08:00 +0000
Subject: [PATCH] Fixed path in dkim ajax request.

---
 interface/web/mail/templates/mail_domain_edit.htm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface/web/mail/templates/mail_domain_edit.htm b/interface/web/mail/templates/mail_domain_edit.htm
index 81cdb73b0f..f58c2cece9 100644
--- a/interface/web/mail/templates/mail_domain_edit.htm
+++ b/interface/web/mail/templates/mail_domain_edit.htm
@@ -105,7 +105,7 @@
                         alert("Error creating XMLHTTP-instance");
                         return false;
                 } else {
-                        request.open('POST', '/mail/mail_domain_dkim_create.php', true);
+                        request.open('POST', 'mail/mail_domain_dkim_create.php', true);
                         request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
                         request.send('domain='+value+'&action='+action+'&pkey='+privatekey);
                         request.onreadystatechange = interpretRequest;
-- 
GitLab