summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-03-17 12:26:01 +0100
committerAleksander Machniak <alec@alec.pl>2013-03-17 12:26:01 +0100
commit6228e3784ffbf9a66d0e1ac266d8e7f7f6884921 (patch)
treec76942166dbbff5b3c9e7243e2c94b9a46ef0d02 /program/js/app.js
parent4d1fe2d230c4194aa99111c5f63dfb33ad35ab83 (diff)
Fix javascript error when window name (for window.open()) in IE8 contains a dot
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index d3c319ecd..0f1a72448 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -857,7 +857,7 @@ function rcube_webmail()
// open attachment in frame if it's of a supported mimetype
if (command != 'download-attachment' && mimetype && this.env.mimetypes && $.inArray(mimetype, this.env.mimetypes) >= 0) {
- var attachment_win = window.open(this.env.comm_path+'&_action=get&'+qstring+'&_frame=1', 'rcubemailattachment'+this.env.uid+props);
+ var attachment_win = window.open(this.env.comm_path+'&_action=get&'+qstring+'&_frame=1', this.html_identifier('rcubemailattachment'+this.env.uid+props));
if (attachment_win) {
setTimeout(function(){ attachment_win.focus(); }, 10);
break;