Fix "col.lockDateModified is not a function" error
This commit is contained in:
parent
4e4f6f74a1
commit
e84f7f6ef8
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue