Better logging for changes to deleted
property
This commit is contained in:
parent
4a30dd2e4f
commit
fb2d35c765
1 changed files with 2 additions and 2 deletions
|
@ -117,10 +117,10 @@ for (let name of ['deleted']) {
|
|||
val = !!val;
|
||||
var oldVal = this._getLatestField(name);
|
||||
if (oldVal == val) {
|
||||
Zotero.debug(Zotero.Utilities.capitalize(name)
|
||||
+ ` state hasn't changed for ${this._objectType} ${this.id}`);
|
||||
Zotero.debug(`Field '${name}' hasn't changed`);
|
||||
return;
|
||||
}
|
||||
Zotero.debug(`Field '${name}' has changed from '${oldVal}' to '${val}'`, 4);
|
||||
this._markFieldChange(name, val);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue