Remove lines inadvertently included in ee35361

I meant to merge the test without those lines, since I fixed the problem
from #5297 properly in ded8dca66.

Fixes #5337
This commit is contained in:
Dan Stillman 2025-06-11 21:54:07 -04:00
parent 96d3f312b3
commit 9dbac93dc9

View file

@ -1190,8 +1190,6 @@ Zotero.DataObject.prototype._postSave = function (env) {
let rel = env.relationsToUnregister[i];
Zotero.Relations.unregister(this._objectType, this.id, rel[0], rel[1]);
}
this._changed = {};
this._previousData = {};
};