commit c83bc1b01d5c8fbe74701b7060d78b15987a4540 parent 14d435b8d8a4c6046c3d386df382253c4101ef62 Author: Dan Stillman <dstillman@zotero.org> Date: Sun, 10 May 2015 18:16:29 -0400 Don't reload skipped data types Diffstat:
| M | chrome/content/zotero/xpcom/data/dataObject.js | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/data/dataObject.js b/chrome/content/zotero/xpcom/data/dataObject.js @@ -423,7 +423,8 @@ Zotero.DataObject.prototype.reload = Zotero.Promise.coroutine(function* (dataTyp if (dataTypes && dataTypes.length) { for (let i=0; i<dataTypes.length; i++) { let dataType = dataTypes[i]; - if (!this._loaded[dataType] || (!reloadUnchanged && !this._changed[dataType])) { + if (!this._loaded[dataType] || this._skipDataTypeLoad[dataType] + || (!reloadUnchanged && !this._changed[dataType])) { continue; } yield this._loadDataType(dataType, true);