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…
Reference in a new issue