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:
C Robert
2009-09-14 12:56:05 +00:00
parent 821c56dab0
commit e45813c593
+3 -3
View File
@@ -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;
}