diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-08-16 12:00:46 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-08-16 12:00:46 +0200 |
commit | 0e3f0ad9c90b0a381b9f5e72c40301e19a898976 (patch) | |
tree | 22f5285ee7496a0c9f93fc93e72c0058d957c87c | |
parent | 5a3eb6fdeb655a8cf4767154692e0b8c9e9d4039 (diff) |
Fix touch check when IE doesn't specify the event object
-rw-r--r-- | 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 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) { |