|
|
|
@ -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;
|
|
|
|
|