commit 2ead95b39a119175b16248acd8fe2368f55e7c04
parent 85776a99b210f349f11ff345877e6d2cf384ba89
Author: Dan Stillman <dstillman@zotero.org>
Date: Sun, 11 Dec 2016 02:59:52 -0500
Don't include child items in imported-item count
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/chrome/content/zotero/fileInterface.js b/chrome/content/zotero/fileInterface.js
@@ -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) {