Skip to content

Commit

Permalink
Fix JM coding error
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Feb 5, 2018
1 parent beccfad commit 5442b91
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions chrome/content/zotero/fileInterface.js
Expand Up @@ -417,12 +417,24 @@ var Zotero_File_Interface = new function() {
/*
* Creates a bibliography from a items
*/
function bibliographyFromItems() {
var items = ZoteroPane_Local.getSelectedItems();
if(!items || !items.length) throw("no items currently selected");

_doBibliographyOptions(Zotero.getString("fileInterface.untitledBibliography"), items);
}


/*
* Creates a bibliography from a items
*
this.bibliographyFromItems = Zotero.Promise.coroutine(function* () {
var items = ZoteroPane_Local.getSelectedItems();
if(!items || !items.length) throw("no items currently selected");
yield _doBibliographyOptions(Zotero.getString("fileInterface.untitledBibliography"), items);
});
*/


/**
Expand Down

0 comments on commit 5442b91

Please sign in to comment.