From c1f1611f498429d4da7d7d0f09a20f8333a9dbac Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Sun, 24 Feb 2013 05:57:49 -0500
Subject: [PATCH] - Fixed FS#2702 - custom app vhost conf not taken.

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

diff --git a/interface/web/js/scrigo.js.php b/interface/web/js/scrigo.js.php
index 74553c5..b1b2ef4 100644
--- a/interface/web/js/scrigo.js.php
+++ b/interface/web/js/scrigo.js.php
@@ -27,7 +27,13 @@
 	/*alert(request);*/
 }
 
+function resetFormChanged() {
+    pageFormChanged = false;
+}
+
 function showLoadIndicator() {
+    document.body.style.cursor = 'wait';
+
 <?php
 if($server_config_array['misc']['use_loadindicator'] == 'y'){
 ?>
@@ -57,6 +63,8 @@
 }
 
 function hideLoadIndicator() {
+    document.body.style.cursor = '';
+
     requestsRunning -= 1;
     if(requestsRunning < 1) {
         requestsRunning = 0; // just for the case...
@@ -141,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