We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 446ef67 commit 40437c7Copy full SHA for 40437c7
1 file changed
program/actions/mail/get.php
@@ -33,7 +33,12 @@ public function run($args = [])
33
$rcmail = rcmail::get_instance();
34
35
// This resets X-Frame-Options for framed output (#6688)
36
- $rcmail->output->page_headers();
+ // Not needed in AJAX mode (#10152)
37
+ // TODO: Make this action available in non-AJAX mode only, create a separate action for
38
+ // getting mail part content as-is using AJAX.
39
+ if ($rcmail->output instanceof rcmail_output_html) {
40
+ $rcmail->output->page_headers();
41
+ }
42
43
// show loading page
44
if (!empty($_GET['_preload'])) {
0 commit comments