Don't include child items in imported-item count

This commit is contained in:
Dan Stillman 2016-12-11 02:59:52 -05:00
parent 85776a99b2
commit 2ead95b39a

View File

@ -352,7 +352,6 @@ var Zotero_File_Interface = new function() {
// Show popup on completion
var numItems = translation.newItems.length;
translation.newItems.forEach(item => numItems += item.numChildren());
var progressWin = new Zotero.ProgressWindow();
progressWin.changeHeadline(Zotero.getString('fileInterface.importComplete'));
if (numItems == 1) {