*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 a91c6a9d7b
commit 558fd0147f

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');