Clear previousData after item save
This commit is contained in:
parent
e95a919c12
commit
a1865f5e18
1 changed files with 2 additions and 0 deletions
|
@ -2032,6 +2032,8 @@ Zotero.Item.prototype.save = function() {
|
|||
Zotero.Notifier.trigger('modify', 'item', this.id, { old: this._previousData });
|
||||
}
|
||||
|
||||
this._previousData = null;
|
||||
|
||||
if (isNew) {
|
||||
var id = this.id;
|
||||
this._disabled = true;
|
||||
|
|
Loading…
Reference in a new issue