From 7a38df483b6ea65ee2aa17fb25a8518d74d36f06 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 07 Apr 2013 16:08:02 -0400
Subject: [PATCH] SQL error in mail/mail_domain_del.php

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

diff --git a/interface/web/js/scrigo.js.php b/interface/web/js/scrigo.js.php
index 4b89998..b1b2ef4 100644
--- a/interface/web/js/scrigo.js.php
+++ b/interface/web/js/scrigo.js.php
@@ -32,6 +32,8 @@
 }
 
 function showLoadIndicator() {
+    document.body.style.cursor = 'wait';
+
 <?php
 if($server_config_array['misc']['use_loadindicator'] == 'y'){
 ?>
@@ -61,6 +63,8 @@
 }
 
 function hideLoadIndicator() {
+    document.body.style.cursor = '';
+
     requestsRunning -= 1;
     if(requestsRunning < 1) {
         requestsRunning = 0; // just for the case...
@@ -145,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