Fix error adding top-level attachments in collections

This commit is contained in:
Dan Stillman 2016-12-25 11:48:13 -05:00
parent 653f26d4fb
commit 0a2330b79f

View file

@ -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;