www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 2525f8e532baed07f0809c7a4491d9a1dda93875
parent 3a995d64a47a431be6b95e9a773d86e478eb92db
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu,  7 May 2015 00:59:53 -0400

Fix dragging items to collections

Diffstat:
Mchrome/content/zotero/xpcom/collectionTreeView.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -2029,7 +2029,7 @@ Zotero.CollectionTreeView.prototype.drop = Zotero.Promise.coroutine(function* (r if (targetCollectionID) { let ids = newIDs.filter(function (itemID) { var item = Zotero.Items.get(itemID); - return !item.getSource(); + return item.isTopLevelItem(); }); var collection = yield Zotero.Collections.getAsync(targetCollectionID); yield collection.addItems(ids);