Clear previousData after item save

This commit is contained in:
Dan Stillman 2010-11-15 06:49:40 +00:00
parent e95a919c12
commit a1865f5e18

View file

@ -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;