Fix error dragging standalone attachment to group with filesEditable off
This commit is contained in:
parent
884e5474fe
commit
a38322ef54
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue