From eb6253ccc183de419bce8e70c409b46119dcba24 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 14 Oct 2013 07:51:43 -0400
Subject: [PATCH] Fix regression where click on subject text wasn't selecting the message row
---
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 f05ac1a..996d308 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -409,7 +409,7 @@
var evtarget = rcube_event.get_target(e),
tagname = evtarget.tagName.toLowerCase();
- if (this.dont_select || (evtarget && (tagname == 'input' || tagname == 'img' || evtarget.onclick)))
+ if (this.dont_select || (evtarget && (tagname == 'input' || tagname == 'img' || (tagname != 'a' && evtarget.onclick))))
return true;
// accept right-clicks
--
Gitblit v1.9.1