summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-10-30 15:50:23 +0100
committerAleksander Machniak <alec@alec.pl>2013-10-30 15:50:23 +0100
commit2aacf1a31d63e0f88e1a06fda9a99519a9f29e1a (patch)
tree28b63c53f21b0d0fb34c1a99563aaf93044c2965 /program/js
parentc511f5d7c855b915baac7a014fbfaba974323537 (diff)
Fix drag-n-drop broken in bc35e865
Diffstat (limited to 'program/js')
-rw-r--r--program/js/list.js2
1 files changed, 1 insertions, 1 deletions
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);
}