From fbda8fe554d2094a0ba36f8a40f407332372440f Mon Sep 17 00:00:00 2001
From: vogelor <vogelor@ispconfig3>
Date: Wed, 26 May 2010 07:42:51 -0400
Subject: [PATCH] Fixed a error if the user logged in with other browser than firefox
---
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