mirror of
https://github.com/zotero/zotero.git
synced 2026-10-06 02:50:03 +00:00
Don't reload skipped data types
This commit is contained in:
parent
14d435b8d8
commit
c83bc1b01d
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue