Mantis 130: "New List" on a shared address book

Monotone-Parent: 8d584c13fa3ea25a05d8544d8b2ff67cd892fbf0
Monotone-Revision: 6cb31dde3ea4f2f37178b5dc2a27db4889ceea3f

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-09-11T19:49:31
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
C Robert 2009-09-11 19:49:31 +00:00
parent 53ba65fcf1
commit cb12f0e341

View file

@ -524,7 +524,9 @@ function newContact(sender) {
}
function newList(sender) {
openContactWindow(URLForFolderID(Contact.currentAddressBook) + "/newlist");
var li = $(Contact.currentAddressBook);
if (!li.hasClassName ("remote"))
openContactWindow(URLForFolderID(Contact.currentAddressBook) + "/newlist");
return false;
}