mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-15 19:20:47 +01:00
Fix mail mark as read eventhough it's not running in pane preview mode
This commit is contained in:
parent
fc54b588c0
commit
c0ed247511
@ -1138,6 +1138,9 @@ app.classes.mail = AppJS.extend(
|
||||
let attachmentsBlock = this.et2.getWidgetById('attachmentsBlock');
|
||||
let mailPreview = this.et2.getWidgetById('mailPreview');
|
||||
let previewPane = this.egw.preference('previewPane', 'mail');
|
||||
// don't go further if the preview is supposed to be disabled and we're not in mobile view
|
||||
if (previewPane == 'hide' && !egwIsMobile()) return;
|
||||
|
||||
if(typeof selected != 'undefined' && selected.length == 1)
|
||||
{
|
||||
rowId = this.mail_fetchCurrentlyFocussed(selected);
|
||||
|
Loading…
Reference in New Issue
Block a user