From 813090c9f5b146afd56b3870ae074abf16b0ecf0 Mon Sep 17 00:00:00 2001
From: vogelor <vogelor@ispconfig3>
Date: Thu, 10 Jun 2010 16:40:06 -0400
Subject: [PATCH] Fixed bug #1213

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

diff --git a/interface/web/js/scrigo.js.php b/interface/web/js/scrigo.js.php
index e3a391a..ba73aa7 100644
--- a/interface/web/js/scrigo.js.php
+++ b/interface/web/js/scrigo.js.php
@@ -238,7 +238,10 @@
 			if(flag)break;
 		}
 */
-  document.pageForm.username.focus();
+	try {
+		document.pageForm.username.focus();
+	} catch (e) {
+	}
 }
 
 

--
Gitblit v1.9.1