From aa16b8a5748d65ac5dd8fe9454cbf0789c44d239 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 5 Nov 2009 21:25:04 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: 228e9770b472515d2c5ed57891aae9de3ccf23ff Monotone-Revision: fe8e342827f97f4b5f5c94322b13f8a2ec20c40d Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-11-05T21:25:04 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 8 ++++++++ UI/WebServerResources/ContactsUI.js | 2 +- UI/WebServerResources/SOGoRootPage.js | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c0e49e7c8..5db0806cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-11-05 Francis Lachapelle + + * UI/WebServerResources/ContactsUI.js (getMenus): activated the + list creation option of the addresbooks contextual menu. + + * UI/WebServerResources/SOGoRootPage.js (onFieldKeyDown): don't + submit the form if no password is typed. + 2009-11-04 Francis Lachapelle * Major refresh of CSS stylesheets. diff --git a/UI/WebServerResources/ContactsUI.js b/UI/WebServerResources/ContactsUI.js index 320d5af12..096a68c85 100644 --- a/UI/WebServerResources/ContactsUI.js +++ b/UI/WebServerResources/ContactsUI.js @@ -1069,7 +1069,7 @@ function onContactMenuPrepareVisibility() { function getMenus() { var menus = {}; menus["contactFoldersMenu"] = new Array(onAddressBookModify, "-", newContact, - null, "-", onAddressBookImport, + newList, "-", onAddressBookImport, onAddressBookRemove, "-", onMenuSharing); menus["contactMenu"] = new Array(onMenuEditContact, "-", diff --git a/UI/WebServerResources/SOGoRootPage.js b/UI/WebServerResources/SOGoRootPage.js index 535ea302a..dc6b25c92 100644 --- a/UI/WebServerResources/SOGoRootPage.js +++ b/UI/WebServerResources/SOGoRootPage.js @@ -32,8 +32,8 @@ function initLogin() { submitBtn.disabled = false; } -function onFieldKeyDown (event) { - if (event.keyCode == Event.KEY_RETURN) +function onFieldKeyDown(event) { + if (event.keyCode == Event.KEY_RETURN && $("password").value.length > 0) return onLoginClick (event); }