From dcf68720c15d71bbd2a6e94e41989888fae37d20 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 20 Oct 2016 15:48:42 +0200 Subject: [PATCH] Fix regression where UI object could be not created on some pages (#5484) --- program/include/rcmail_output_html.php | 4 ++++ skins/larry/includes/footer.html | 3 +++ skins/larry/includes/header.html | 8 -------- skins/larry/includes/links.html | 4 +++- skins/larry/ui.js | 8 +++++--- 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/program/include/rcmail_output_html.php b/program/include/rcmail_output_html.php index 8dda8c3c1..fca3ae77d 100644 --- a/program/include/rcmail_output_html.php +++ b/program/include/rcmail_output_html.php @@ -1077,6 +1077,10 @@ EOF; } break; + case 'add_label': + $this->add_label($attrib['name']); + break; + // include a file case 'include': $old_base_path = $this->base_path; diff --git a/skins/larry/includes/footer.html b/skins/larry/includes/footer.html index cade440bd..f64420d27 100644 --- a/skins/larry/includes/footer.html +++ b/skins/larry/includes/footer.html @@ -1,2 +1,5 @@ + diff --git a/skins/larry/includes/header.html b/skins/larry/includes/header.html index 8057bc30a..36783e395 100644 --- a/skins/larry/includes/header.html +++ b/skins/larry/includes/header.html @@ -1,13 +1,5 @@