Fix cross-library collection drag on Linux, probably

This commit is contained in:
Dan Stillman 2017-03-04 16:38:00 -05:00
parent c180bce0f0
commit 59fb9d0226

View file

@ -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;