mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-08 21:15:27 +00:00
Small improvement
Monotone-Parent: cdf57b5678f4ad894cde7ce93779b28c485ef970 Monotone-Revision: f937b6e53d17591dc176dff07b8c090e39c4f6ca Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-09-14T12:56:05 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -525,10 +525,10 @@ function newContact(sender) {
|
||||
|
||||
function newList(sender) {
|
||||
var li = $(Contact.currentAddressBook);
|
||||
if (!li.hasClassName ("remote"))
|
||||
openContactWindow(URLForFolderID(Contact.currentAddressBook) + "/newlist");
|
||||
else
|
||||
if (li.hasClassName ("remote"))
|
||||
alert (label ("You cannot create a list in a shared address book."));
|
||||
else
|
||||
openContactWindow(URLForFolderID(Contact.currentAddressBook) + "/newlist");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user