diff --git a/chrome/content/zotero/fileInterface.js b/chrome/content/zotero/fileInterface.js index 289cf21e4..9deba122e 100644 --- a/chrome/content/zotero/fileInterface.js +++ b/chrome/content/zotero/fileInterface.js @@ -139,15 +139,24 @@ var Zotero_File_Interface = new function() { exporter.collection = collection; } else { // find sorted items - exporter.items = ZoteroPane.getSortedItems(); + var items = []; + var ids = ZoteroPane.getSortedItems(); + if (ids.length) { + for (var i=0; i