mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 14:57:12 +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:
1 parent
821c56dab0
commit
e45813c593
1 file changed
+3
-3
@@ -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