From bf39775f562297ccd8c1f4c9c231356413ea83c6 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sat, 13 Oct 2007 00:21:10 +0000 Subject: [PATCH] - fix a showstopper error in restoring Word plug-in session - fix an error when using position="substitute" - Endnotes/Footnotes indicator should be enabled when a note style is selected --- chrome/content/zotero/integrationDocPrefs.xul | 2 +- chrome/content/zotero/xpcom/cite.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/integrationDocPrefs.xul b/chrome/content/zotero/integrationDocPrefs.xul index 315008228..1ed6be663 100644 --- a/chrome/content/zotero/integrationDocPrefs.xul +++ b/chrome/content/zotero/integrationDocPrefs.xul @@ -20,7 +20,7 @@ - + diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index 1b163670d..5966c5c09 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -1030,7 +1030,7 @@ Zotero.CSL.prototype._processElements = function(item, element, formattedString, || !citationItem.position || citationItem.position == Zotero.CSL.POSITION_FIRST; } else if(variables[j] == "subsequent") { - var exists = citatonItem && citationItem.position >= Zotero.CSL.POSITION_SUBSEQUENT; + var exists = citationItem && citationItem.position >= Zotero.CSL.POSITION_SUBSEQUENT; } else if(variables[j] == "ibid") { var exists = citationItem && citationItem.position >= Zotero.CSL.POSITION_IBID; } else if(variables[j] == "ibid-with-locator") {