Fix creator breakage from object caching changes

This commit is contained in:
Dan Stillman 2008-10-13 22:33:28 +00:00
parent 8f2a7524e7
commit 9dfca12594

View file

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