From 75bcbf8e5cf4ec124fa128d06a4d56d426b89beb Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 19 Mar 2009 17:59:20 +0000 Subject: [PATCH] Monotone-Parent: dd31e8f881d1c923d951b3c5ddf9a90c986c2165 Monotone-Revision: a1f761bf97ae1835eab590dcfd609d788cbf7d1f Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-03-19T17:59:20 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/SOGoRootPage.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/UI/WebServerResources/SOGoRootPage.js b/UI/WebServerResources/SOGoRootPage.js index 7c60d2cae..547bf11ea 100644 --- a/UI/WebServerResources/SOGoRootPage.js +++ b/UI/WebServerResources/SOGoRootPage.js @@ -7,10 +7,12 @@ function initLogin() { + "; expires=" + date.toGMTString()); var about = $("about"); - about.observe("click", function(event) { $("aboutBox").show(); }); + if (about) { + about.observe("click", function(event) { $("aboutBox").show(); }); - var aboutClose = $("aboutClose"); - aboutClose.observe("click", function(event) { $("aboutBox").hide(); }); + var aboutClose = $("aboutClose"); + aboutClose.observe("click", function(event) { $("aboutBox").hide(); }); + } var submit = $("submit"); submit.observe("click", onLoginClick);