Potentially fix an issue with LibreOffice when setting a field code for a citation that hasn't changed

This commit is contained in:
Simon Kornblith 2012-02-14 13:47:04 -05:00
parent 25e49faa2c
commit a618d75e5b

View file

@ -1477,9 +1477,9 @@ Zotero.Integration.Fields.prototype._updateDocument = function(forceCitations, f
// If there is no citation, we're deleting it, or we shouldn't update it, ignore it
if(!citation || deleteCitations[i]) continue;
var isRich = false;
if(!citation.properties.dontUpdate) {
var isRich = false;
var formattedCitation = citation.properties.custom
? citation.properties.custom : this._session.citationText[i];