diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-02-22 14:35:37 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-02-22 14:48:41 +0100 |
commit | 5f5174e3b537a5ec87c6d7bd6cbc898a47725fd5 (patch) | |
tree | 18b185409b9a1ea27ab5637d906681770128d453 /program | |
parent | 7f281207688eb5810fd04aac63d3a618afaa52d6 (diff) |
Suppress IE's default behavior of opening links in a new tab on ctrl-click by wrapping the clickable content in <span> tag
Diffstat (limited to 'program')
-rw-r--r-- | program/js/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 = '<a href="./?_task=mail&_action='+action+'&_mbox='+urlencode(flags.mbox)+'&'+uid_param+'='+uid+'"'+ - ' onclick="return rcube_event.cancel(event)" onmouseover="rcube_webmail.long_subject_title(this,'+(message.depth+1)+')">'+cols.subject+'</a>'; + ' onclick="return rcube_event.cancel(event)" onmouseover="rcube_webmail.long_subject_title(this,'+(message.depth+1)+')"><span>'+cols.subject+'</span></a>'; } // add each submitted col |