From ca901e9b2ff903c80f8086a76532cc7649297527 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 23 Jun 2011 18:50:43 +0000 Subject: [PATCH] small sanity check Monotone-Parent: b02226d59c16236b8e8eab6e22a7346f679f2ee7 Monotone-Revision: dc5ddbbb3305b9f0cb8fe2e2044f0a2673ef24ca Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-06-23T18:50:43 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/SOGoRootPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/WebServerResources/SOGoRootPage.js b/UI/WebServerResources/SOGoRootPage.js index e335ed67f..f69ab0622 100644 --- a/UI/WebServerResources/SOGoRootPage.js +++ b/UI/WebServerResources/SOGoRootPage.js @@ -61,7 +61,7 @@ function onLoginClick(event) { var password = $("password").value; var language = $("language"); - if (userName.length > 0) { + if (userName.length > 0 && password.length > 0) { this.disabled = true; startAnimation($("animation"));