diff --git a/api/src/Etemplate.php b/api/src/Etemplate.php index bf560bc605..ce1eaa6034 100644 --- a/api/src/Etemplate.php +++ b/api/src/Etemplate.php @@ -159,6 +159,7 @@ class Etemplate extends Etemplate\Widget\Template // not sure if we want to handle it this way, thought otherwise we will have a few ajax request for each dialog fetching predefined selectboxes $template = self::instance($this->name, $this->template_set, $this->version, $this->laod_via); if (!$template) throw new Exception\AssertionFailed("Template $this->name not instanciable! Maybe you forgot to rename template id."); + $this->children = array($template); $template->run('beforeSendToClient', array('', array('cont'=>$content))); // some apps (eg. InfoLog) set app_header only in get_rows depending on filter settings