From 2aacf1a31d63e0f88e1a06fda9a99519a9f29e1a Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 30 Oct 2013 10:50:23 -0400
Subject: [PATCH] Fix drag-n-drop broken in bc35e865

---
 program/js/list.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/js/list.js b/program/js/list.js
index 439e941..a814c32 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -412,7 +412,7 @@
     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);
   }

--
Gitblit v1.9.1