From 5f5174e3b537a5ec87c6d7bd6cbc898a47725fd5 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Sat, 22 Feb 2014 14:35:37 +0100 Subject: Suppress IE's default behavior of opening links in a new tab on ctrl-click by wrapping the clickable content in tag --- program/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program') diff --git a/program/js/app.js b/program/js/app.js index eb9b9ced8..dad4223b2 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -1888,11 +1888,11 @@ function rcube_webmail() row.className = row_class; // build subject link - if (!bw.ie && cols.subject) { + if (cols.subject) { var action = flags.mbox == this.env.drafts_mailbox ? 'compose' : 'show'; var uid_param = flags.mbox == this.env.drafts_mailbox ? '_draft_uid' : '_uid'; cols.subject = ''+cols.subject+''; + ' onclick="return rcube_event.cancel(event)" onmouseover="rcube_webmail.long_subject_title(this,'+(message.depth+1)+')">'+cols.subject+''; } // add each submitted col -- cgit v1.2.3