mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix mail mark as read eventhough it's not running in pane preview mode
This commit is contained in:
parent
ca87631cdb
commit
48acee3c1e
@ -1138,6 +1138,9 @@ app.classes.mail = AppJS.extend(
|
|||||||
let attachmentsBlock = this.et2.getWidgetById('attachmentsBlock');
|
let attachmentsBlock = this.et2.getWidgetById('attachmentsBlock');
|
||||||
let mailPreview = this.et2.getWidgetById('mailPreview');
|
let mailPreview = this.et2.getWidgetById('mailPreview');
|
||||||
let previewPane = this.egw.preference('previewPane', 'mail');
|
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)
|
if(typeof selected != 'undefined' && selected.length == 1)
|
||||||
{
|
{
|
||||||
rowId = this.mail_fetchCurrentlyFocussed(selected);
|
rowId = this.mail_fetchCurrentlyFocussed(selected);
|
||||||
|
Loading…
Reference in New Issue
Block a user