Fix creator breakage from object caching changes
This commit is contained in:
parent
8f2a7524e7
commit
9dfca12594
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ Zotero.Creator.prototype.__defineSetter__('creatorDataID', function () { this._s
|
||||||
|
|
||||||
Zotero.Creator.prototype._get = function (field) {
|
Zotero.Creator.prototype._get = function (field) {
|
||||||
if (this.id && !this._loaded) {
|
if (this.id && !this._loaded) {
|
||||||
this.load();
|
this.load(true);
|
||||||
}
|
}
|
||||||
return this['_' + field];
|
return this['_' + field];
|
||||||
}
|
}
|
||||||
|
@ -82,7 +82,7 @@ Zotero.Creator.prototype._set = function (field, val) {
|
||||||
|
|
||||||
if (this.id) {
|
if (this.id) {
|
||||||
if (!this._loaded) {
|
if (!this._loaded) {
|
||||||
this.load();
|
this.load(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue