mirror of
https://github.com/zotero/zotero.git
synced 2026-09-11 22:51:15 +00:00
Better logging for changes to deleted property
This commit is contained in:
parent
8992efc869
commit
fcc6cc17a9
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…
Add table
Reference in a new issue