Force 'move' action for collection drag
This commit is contained in:
parent
d318bca7a4
commit
48a94c6716
1 changed files with 4 additions and 1 deletions
|
@ -83,7 +83,10 @@ Zotero.LibraryTreeView.prototype = {
|
|||
return;
|
||||
}
|
||||
|
||||
if (event.dataTransfer.getData("zotero/item")) {
|
||||
if (event.dataTransfer.getData("zotero/collection")) {
|
||||
this._setDropEffect(event, "move");
|
||||
}
|
||||
else if (event.dataTransfer.getData("zotero/item")) {
|
||||
var sourceItemGroup = Zotero.DragDrop.getDragSource();
|
||||
if (sourceItemGroup) {
|
||||
if (this.type == 'collection') {
|
||||
|
|
Loading…
Reference in a new issue