Fix footnote edit crashing in MacWord
This commit is contained in:
parent
0bb0912a7b
commit
8544618445
|
@ -1138,7 +1138,7 @@ Zotero.Integration.Fields.prototype.addEditCitation = Zotero.Promise.coroutine(f
|
||||||
if (fields[fieldIndex].equals(field._field)) {
|
if (fields[fieldIndex].equals(field._field)) {
|
||||||
// This is needed, because LibreOffice integration plugin caches the field code instead of asking
|
// This is needed, because LibreOffice integration plugin caches the field code instead of asking
|
||||||
// the document every time when calling #getCode().
|
// the document every time when calling #getCode().
|
||||||
fields[fieldIndex] = field._field;
|
field._field = fields[fieldIndex];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user