- 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
This commit is contained in:
Simon Kornblith 2007-10-13 00:21:10 +00:00
parent cdaaf1ef54
commit bf39775f56
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
<vbox id="zotero-bibliography-container" style="padding: 0.5em">
<groupbox>
<caption label="&zotero.bibliography.style.label;"/>
<listbox id="style-listbox" oncommand="Zotero_File_Interface_Bibliography.styleChanged()"/>
<listbox id="style-listbox" onselect="Zotero_File_Interface_Bibliography.styleChanged()"/>
</groupbox>
<groupbox>

View File

@ -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") {