Don't attempt to mark changes when creating new item.
This commit is contained in:
parent
147f325e40
commit
dbf6bc0ee1
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ Zotero.Item.prototype.setType = function(itemTypeID, loadIn) {
|
|||
if (loadIn) {
|
||||
this._itemDataLoaded = false;
|
||||
}
|
||||
else {
|
||||
else if(oldItemTypeID) {
|
||||
this._markFieldChange('itemType', Zotero.ItemTypes.getName(oldItemTypeID));
|
||||
if (!this._changedPrimaryData) {
|
||||
this._changedPrimaryData = {};
|
||||
|
|
Loading…
Reference in a new issue