summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-08-16 12:03:57 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-08-16 12:03:57 +0200
commit88b4231d98593abb2f1a3d3b106a012905bc6b19 (patch)
tree0a894387f5aa336b0c4d5d45dee267806dd64042
parent156bfc83c3eff42bd0a3f86895b94c1fb867e045 (diff)
Fix touch check when IE (7|8) doesn't specify the event object
-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 76582d1f2..c2ad3f7c3 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -416,7 +416,7 @@ drag_row: function(e, id)
if (rcube_event.get_button(e) == 2)
return true;
- this.in_selection_before = e.istouch || this.in_selection(id) ? id : false;
+ this.in_selection_before = e && e.istouch || this.in_selection(id) ? id : false;
// selects currently unselected row
if (!this.in_selection_before) {