Fix broken Note/Citation option in "Create Bibiography"

This commit is contained in:
Dan Stillman 2012-12-20 01:21:36 -05:00
parent 8b37031174
commit a3f7f97e02

View file

@ -500,12 +500,12 @@ var Zotero_File_Interface = new function() {
// generate bibliography
try {
if(io.method == 'copy-to-clipboard') {
copyItemsToClipboard(items, io.style, false, io.mode === "citation");
copyItemsToClipboard(items, io.style, false, io.mode === "citations");
}
else {
var style = Zotero.Styles.get(io.style);
var bibliography = Zotero.Cite.makeFormattedBibliographyOrCitationList(style,
items, format, io.mode === "citation");
items, format, io.mode === "citations");
}
} catch(e) {
window.alert(Zotero.getString("fileInterface.bibliographyGenerationError"));