mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix error mailPreview undefined happening in mobile view
This commit is contained in:
parent
30aaa734c9
commit
4fae387ec5
@ -1075,7 +1075,7 @@ app.classes.mail = AppJS.extend(
|
||||
data.attachmentsBlockTitle = _data.length > 1 ? `+${_data.length-1}` : '';
|
||||
// Update client cache to avoid resolving winmail.dat attachment again
|
||||
egw.dataStoreUID(data.uid, data);
|
||||
mailPreview.set_value({content:data});
|
||||
if (!egwIsMobile()) mailPreview.set_value({content:data});
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1157,7 +1157,7 @@ app.classes.mail = AppJS.extend(
|
||||
sel_options.attachmentsBlock.actions = actions;
|
||||
}
|
||||
|
||||
mailPreview.set_value({content:data, sel_options:sel_options});
|
||||
if (!egwIsMobile()) mailPreview.set_value({content:data, sel_options:sel_options});
|
||||
|
||||
if (selected && selected.length>1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user