commit 6960b7f86e850aecdf29db0e461154ab8bd777e9
parent 81ab8f7b20ea51516c36a985663696a11bc47d23
Author: Adomas VenĨkauskas <adomas.ven@gmail.com>
Date: Tue, 15 May 2018 14:12:31 +0300
Fixes the refresh error after style reinstall. Closes #1500
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js
@@ -665,7 +665,7 @@ Zotero.Integration.Interface.prototype.addEditBibliography = Zotero.Promise.coro
Zotero.Integration.Interface.prototype.refresh = async function() {
await this._session.init(true, false)
- this._session.reload = this._session.data.prefs.delayCitationUpdates;
+ this._session.reload = this._session.reload || this._session.data.prefs.delayCitationUpdates;
await this._session.fields.updateSession(FORCE_CITATIONS_REGENERATE)
await this._session.fields.updateDocument(FORCE_CITATIONS_REGENERATE, true, false);
}