From ef51ae6d193e22e6b7662a632d37479519c5bf97 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Wed, 02 Jul 2014 12:20:19 -0400
Subject: [PATCH] Reset also page header/footer on "dummy frames" - to prevent js error e.g. if some script depends on jQuery

---
 program/include/rcmail_output_html.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php
index f5430d9..705a72e 100644
--- a/program/include/rcmail_output_html.php
+++ b/program/include/rcmail_output_html.php
@@ -430,6 +430,8 @@
         if ($framed) {
             $this->scripts      = array();
             $this->script_files = array();
+            $this->header       = '';
+            $this->footer       = '';
         }
 
         // write all javascript commands

--
Gitblit v1.9.1