Fix error dragging standalone attachment to group with filesEditable off

This commit is contained in:
Dan Stillman 2009-09-14 02:15:20 +00:00
parent 884e5474fe
commit a38322ef54

View file

@ -1057,6 +1057,9 @@ Zotero.CollectionTreeView.prototype.canDrop = function(row, orient, dragData)
if (item.attachmentLinkMode == Zotero.Attachments.LINK_MODE_LINKED_FILE) {
return false;
}
if (!itemGroup.filesEditable) {
return false;
}
skip = false;
continue;
}