Fix javascript error in "IE 8.0/Tablet PC" browser (#1490210)

pull/264/head
Aleksander Machniak 10 years ago
parent f4154d9108
commit b7e3b15a8a

@ -10,6 +10,7 @@ CHANGELOG Roundcube Webmail
- Fix bug where Drafts list wasn't updated on draft-save action in new window (#1490225)
- Fix so "set as default" option is hidden if identities_level > 1 (#1490226)
- Fix bug where search was reset after returning from compose visited for reply
- Fix javascript error in "IE 8.0/Tablet PC" browser (#1490210)
RELEASE 1.1-rc
--------------

@ -1954,7 +1954,7 @@ function rcube_webmail()
// attach events
$.each(fn, function(i, f) {
row[i].onclick = function(e) { f(e); return rcube_event.cancel(e); };
if (bw.touch) {
if (bw.touch && row[i].addEventListener) {
row[i].addEventListener('touchend', function(e) {
if (e.changedTouches.length == 1) {
f(e);

@ -154,7 +154,7 @@ init_row: function(row)
row.onmousedown = function(e){ return self.drag_row(e, this.uid); };
row.onmouseup = function(e){ if (e.which == 1) return self.click_row(e, this.uid); };
if (bw.touch) {
if (bw.touch && row.addEventListener) {
row.addEventListener('touchstart', function(e) {
if (e.touches.length == 1) {
self.touchmoved = false;

Loading…
Cancel
Save