From 8544618445d7cdbfe4be80511e4fb026edff75a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Wed, 24 Jan 2018 16:00:24 +0200 Subject: [PATCH] Fix footnote edit crashing in MacWord --- chrome/content/zotero/xpcom/integration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 2fc39c4b8..2edea3b94 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -1138,7 +1138,7 @@ Zotero.Integration.Fields.prototype.addEditCitation = Zotero.Promise.coroutine(f if (fields[fieldIndex].equals(field._field)) { // This is needed, because LibreOffice integration plugin caches the field code instead of asking // the document every time when calling #getCode(). - fields[fieldIndex] = field._field; + field._field = fields[fieldIndex]; break; } }