From 172f36d05098aba54684a3401add07a7164d9371 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 5 Apr 2017 14:24:34 -0400 Subject: [PATCH] Fix dragging in links on Linux --- chrome/content/zotero/xpcom/zotero.js | 49 +++++++++++++++------------ 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 86d63f82f3..34bda8fe33 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -2336,31 +2336,36 @@ Zotero.DragDrop = { var ids = dt.getData('zotero/item').split(","); dragData.data = ids; } - else if (dt.types.contains('application/x-moz-file')) { - dragData.dataType = 'application/x-moz-file'; - var files = []; - for (var i=0; i