From 82fcd4e7574e55326474e5edc5c9d6da56677331 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 22 Dec 2015 07:14:00 -0500 Subject: [PATCH] Fix so drag-n-drop of text (e.g. recipient addresses) on compose page actually works (#1490619) --- CHANGELOG | 1 + program/js/app.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 0891399..99d4d2e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,7 @@ - Fix handling of message/rfc822 attachments on replies and forwards (#1490607) - Fix PDF support detection in Firefox > 19 (#1490610) - Fix path traversal vulnerability in setting a skin (#1490620) +- Fix so drag-n-drop of text (e.g. recipient addresses) on compose page actually works (#1490619) RELEASE 1.0.7 ------------- diff --git a/program/js/app.js b/program/js/app.js index e639448..ba7b711 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -7248,8 +7248,8 @@ // html5 file-drop API this.document_drag_hover = function(e, over) { - e.preventDefault(); - $(ref.gui_objects.filedrop)[(over?'addClass':'removeClass')]('active'); + // don't e.preventDefault() here to not block text dragging on the page (#1490619) + $(this.gui_objects.filedrop)[(over?'addClass':'removeClass')]('active'); }; this.file_drag_hover = function(e, over) -- Gitblit v1.9.1