From 2aacf1a31d63e0f88e1a06fda9a99519a9f29e1a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 30 Oct 2013 15:50:23 +0100 Subject: Fix drag-n-drop broken in bc35e865 --- program/js/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/js/list.js b/program/js/list.js index 439e941fa..a814c325c 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -412,7 +412,7 @@ drag_row: function(e, id) return true; // selects currently unselected row - if (e && e.istouch || this.in_selection(id)) { + if (!(e && e.istouch || this.in_selection(id))) { var mod_key = rcube_event.get_modifier(e); this.select_row(id, mod_key, false); } -- cgit v1.2.3