Fix error saving new creators after r3178

This commit is contained in:
Dan Stillman 2008-08-12 07:20:45 +00:00
parent fa82b66c9f
commit 2d5c89cb9d

View file

@ -229,7 +229,9 @@ Zotero.Creator.prototype.save = function () {
creatorID = insertID;
}
this.updateLinkedItems(creatorID);
if (this.id) {
this.updateLinkedItems();
}
Zotero.DB.commitTransaction();
}