www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a618d75e5b0347e72b9194734176b03e5be4d5d2
parent 25e49faa2cfb5148aae6e8c0a7c6ba58cbaaabd0
Author: Simon Kornblith <simon@simonster.com>
Date:   Tue, 14 Feb 2012 13:47:04 -0500

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

Diffstat:
Mchrome/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 @@ -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];