From 35ccdef6c75424ff0782cd873bb0fe7ec03536b5 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Wed, 13 Mar 2013 16:46:40 -0400
Subject: [PATCH] - Fixed FS#2736 - entering multiple DNS MX records outputs errors... 

---
 interface/web/js/scrigo.js.php |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/interface/web/js/scrigo.js.php b/interface/web/js/scrigo.js.php
index 600066b..b1b2ef4 100644
--- a/interface/web/js/scrigo.js.php
+++ b/interface/web/js/scrigo.js.php
@@ -149,7 +149,12 @@
     if(passwordObj.value == ''){
         passwordObj.focus();
         return;
-    }   
+    }
+	
+	$('#dummy_username').val(userNameObj.value);
+	$('#dummy_passwort').val(passwordObj.value);
+	$('#dummy_login_form').submit();
+
 	var submitFormObj = jQuery.ajax({		type: "POST", 
 											url: "content.php",
 											data: jQuery('#'+formname).serialize(),

--
Gitblit v1.9.1