*Mail: fix mail action moveTo folder fails on none pane view

This commit is contained in:
Hadi Nategh 2023-03-06 12:17:12 +01:00
parent 7d75c902d5
commit 2f3f04fd64

View File

@ -1204,7 +1204,7 @@ app.classes.mail = AppJS.extend(
} }
// Not applied to mobile preview // Not applied to mobile preview
if (!egwIsMobile()) if (!egwIsMobile() && this.getPreviewPaneState())
{ {
// Blank first, so we don't show previous email while loading // Blank first, so we don't show previous email while loading
var IframeHandle = this.et2.getWidgetById('messageIFRAME'); var IframeHandle = this.et2.getWidgetById('messageIFRAME');