summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-07-02 18:20:19 +0200
committerAleksander Machniak <alec@alec.pl>2014-07-02 18:20:19 +0200
commitef51ae6d193e22e6b7662a632d37479519c5bf97 (patch)
tree0cf7cd383f72782bb800afeea623ae9e7c24cfb9
parentc6447e2ce289188493590ec0d5449fa3692eed08 (diff)
Reset also page header/footer on "dummy frames" - to prevent js error e.g. if some script depends on jQuery
-rw-r--r--program/include/rcmail_output_html.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php
index f5430d95a..705a72ece 100644
--- a/program/include/rcmail_output_html.php
+++ b/program/include/rcmail_output_html.php
@@ -430,6 +430,8 @@ EOF;
if ($framed) {
$this->scripts = array();
$this->script_files = array();
+ $this->header = '';
+ $this->footer = '';
}
// write all javascript commands