Revert unintentional action handler caused mail's display function no longer working

This commit is contained in:
Hadi Nategh 2022-07-25 11:15:48 +02:00
parent 89d7876bea
commit 47baa7540c

View File

@ -1160,7 +1160,7 @@ class mail_ui
'caption' => lang('Open'), 'caption' => lang('Open'),
'icon' => 'view', 'icon' => 'view',
'group' => ++$group, 'group' => ++$group,
'onExecute' => Api\Header\UserAgent::mobile()?'javaScript:app.mail.mobileView':'javaScript:app.mail.mobileView', 'onExecute' => Api\Header\UserAgent::mobile()?'javaScript:app.mail.mobileView':'javaScript:app.mail.mail_open',
'allowOnMultiple' => false, 'allowOnMultiple' => false,
'default' => true, 'default' => true,
'mobileViewTemplate' => 'view?'.filemtime(Api\Etemplate\Widget\Template::rel2path('/mail/templates/mobile/view.xet')) 'mobileViewTemplate' => 'view?'.filemtime(Api\Etemplate\Widget\Template::rel2path('/mail/templates/mobile/view.xet'))