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
This commit is contained in:
Francis Lachapelle
2009-11-05 21:25:04 +00:00
parent 6ae1bfb0fe
commit aa16b8a574
3 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,11 @@
2009-11-05 Francis Lachapelle <flachapelle@inverse.ca>
* 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 <flachapelle@inverse.ca>
* Major refresh of CSS stylesheets.

View File

@@ -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, "-",

View File

@@ -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);
}