Added error message for Mantis 130

Monotone-Parent: e651fed8888008a467a9b28a214fa7dcb82e0472
Monotone-Revision: 354ed3b0a354fd29a34c03d0b9f2d7961066e075

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-09-11T19:59:59
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert
2009-09-11 19:59:59 +00:00
parent 23b79023b3
commit 8d8d9e4155
12 changed files with 24 additions and 0 deletions
+2
View File
@@ -527,6 +527,8 @@ function newList(sender) {
var li = $(Contact.currentAddressBook);
if (!li.hasClassName ("remote"))
openContactWindow(URLForFolderID(Contact.currentAddressBook) + "/newlist");
else
alert (clabels["You cannot create a list in a shared address book."]);
return false;
}