Skip to content

Commit

Permalink
Fix cross-library collection drag on Linux, probably
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Mar 4, 2017
1 parent c180bce commit 59fb9d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chrome/content/zotero/xpcom/collectionTreeView.js
Expand Up @@ -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;
Expand Down

0 comments on commit 59fb9d0

Please sign in to comment.