mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 12:34:33 +01:00
Etemplate - keep child after instanciating
This commit is contained in:
parent
1b36ecb962
commit
27fab7c259
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user