From 0e3f0ad9c90b0a381b9f5e72c40301e19a898976 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Fri, 16 Aug 2013 12:00:46 +0200 Subject: Fix touch check when IE doesn't specify the event object --- 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 e2fd828dd..368ee5bc3 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -307,7 +307,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) { -- cgit v1.2.3