commit 425c86ca5ead78e74badca11af38626696476d48
parent 87a2eece3a272e0059f8a4b0d200c9a7d4f6aae5
Author: Dan Stillman <dstillman@zotero.org>
Date: Sun, 24 Apr 2016 04:07:23 -0400
Fix #957, 5.0: Drag collections creates error messages
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js
@@ -1553,7 +1553,7 @@ Zotero.CollectionTreeView.prototype.canDropCheck = function (row, orient, dataTr
}
// Nor in their children
- if (col.hasDescendent('collection', treeRow.ref.id)) {
+ if (draggedCollection.hasDescendent('collection', treeRow.ref.id)) {
return false;
}
}