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:35:37 +0100 |
commit | 0ca978820c1b15bc5816746ef3a9b405da851db5 (patch) | |
tree | 3800b920137a05f3866cc7ff36dfc98a5fbb188d /program/js/app.js | |
parent | 128fd9861a2fa755c4684c2700eb6197cb0be484 (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/js/app.js')
-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 |