Fix #957, 5.0: Drag collections creates error messages

This commit is contained in:
Dan Stillman 2016-04-24 04:07:23 -04:00
parent 87a2eece3a
commit 425c86ca5e

View File

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