diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-03-17 12:28:35 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-03-17 12:28:35 +0100 |
commit | 2c8afa8ac2cee63e6912c85112c7a4c463d80d18 (patch) | |
tree | 4a38cfb21625fa648e81b5c186e7fae60921291c | |
parent | c60f58f9fdcc82574db341cc093eb9644f333edf (diff) |
Fix javascript error when window name (for window.open()) in IE8 contains a dot
Conflicts:
program/js/app.js
-rw-r--r-- | program/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index 329bd772e..1d77e056e 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -821,7 +821,7 @@ function rcube_webmail() // open attachment in frame if it's of a supported mimetype if (this.env.uid && props.mimetype && this.env.mimetypes && $.inArray(props.mimetype, this.env.mimetypes) >= 0) { - var attachment_win = window.open(this.env.comm_path+'&_action=get&'+qstring+'&_frame=1', 'rcubemailattachment'+this.env.uid+props.part); + var attachment_win = window.open(this.env.comm_path+'&_action=get&'+qstring+'&_frame=1', this.html_identifier('rcubemailattachment'+this.env.uid+props.part)); if (attachment_win) { setTimeout(function(){ attachment_win.focus(); }, 10); break; |