Fix mail seen label does not work on mobile template

This commit is contained in:
Hadi Nategh 2016-04-27 13:03:52 +00:00
parent 250a605f56
commit aa00eb9c27

View File

@ -918,8 +918,11 @@ app.classes.mail = AppJS.extend(
IframeHandle.set_src('about:blank');
this.mail_disablePreviewArea(true);
}
return;
if (!egwIsMobile())return;
}
// Not applied to mobile preview
if (!egwIsMobile())
{
// Widget ID:data key map of widgets we can directly set from cached data
var data_widgets = {
@ -966,6 +969,7 @@ app.classes.mail = AppJS.extend(
// Request email body from server
IframeHandle.set_src(egw.link('/index.php',{menuaction:'mail.mail_ui.loadEmailBody',_messageID:_id}));
}
var messages = {};
messages['msg'] = [_id];