mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
Fix error saving new creators after r3178
This commit is contained in:
parent
fa82b66c9f
commit
2d5c89cb9d
1 changed files with 3 additions and 1 deletions
|
|
@ -229,7 +229,9 @@ Zotero.Creator.prototype.save = function () {
|
|||
creatorID = insertID;
|
||||
}
|
||||
|
||||
this.updateLinkedItems(creatorID);
|
||||
if (this.id) {
|
||||
this.updateLinkedItems();
|
||||
}
|
||||
|
||||
Zotero.DB.commitTransaction();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue