commit 8544618445d7cdbfe4be80511e4fb026edff75a6
parent 0bb0912a7bc062298ec0b4fd4a920a368065bcdc
Author: Adomas VenĨkauskas <adomas.ven@gmail.com>
Date: Wed, 24 Jan 2018 16:00:24 +0200
Fix footnote edit crashing in MacWord
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}
}