commit 59fb9d022607e767b167c4ebfbd2403b5fd363a1 parent c180bce0f0753f0080ab9e6cfe2ce4100b570998 Author: Dan Stillman <dstillman@zotero.org> Date: Sat, 4 Mar 2017 16:38:00 -0500 Fix cross-library collection drag on Linux, probably Diffstat:
| M | chrome/content/zotero/xpcom/collectionTreeView.js | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -1553,8 +1553,8 @@ Zotero.CollectionTreeCommandController.prototype.onEvent = function(evt) */ Zotero.CollectionTreeView.prototype.onDragStart = function(event) { // See note in LibraryTreeView::_setDropEffect() - if (Zotero.isWin) { - event.dataTransfer.effectAllowed = 'move'; + if (Zotero.isWin || Zotero.isLinux) { + event.dataTransfer.effectAllowed = 'copyMove'; } var treeRow = this.selectedTreeRow;