From 0a2330b79f4794fa24e84bb7ff801459b0c91b6f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 25 Dec 2016 11:48:13 -0500 Subject: [PATCH] Fix error adding top-level attachments in collections --- chrome/content/zotero/zoteroPane.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 4d91eb994..2a2c725ab 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -3601,7 +3601,7 @@ var ZoteroPane = new function() if(fp.show() == nsIFilePicker.returnOK) { if (!parentItemID) { - var collection = this.getSelectedCollection(); + var collection = this.getSelectedCollection(true); } var files = fp.files;