Fix "col.lockDateModified is not a function" error

This commit is contained in:
Dan Stillman 2009-02-11 20:05:45 +00:00
parent 4e4f6f74a1
commit e84f7f6ef8

View file

@ -2085,6 +2085,10 @@ Zotero.Sync.Server.Data = new function() {
var collections = [];
for each(var colKey in deletedCollectionKeys) {
var col = Zotero.Collections.getByKey(colKey);
// If collection never existed on this side
if (!col) {
continue;
}
col.lockDateModified();
collections.push(col);
}