forked from extern/egroupware
Allow apps to load JavaScript or CSS files, knowing we're loading the framework or not
This commit is contained in:
parent
7843da6e08
commit
f479314e06
@ -253,6 +253,12 @@ abstract class Ajax extends Api\Framework
|
||||
$extra['check-framework'] = $_GET['cd'] !== 'no';
|
||||
}
|
||||
}
|
||||
// allow apps to load JavaScript or CSS files, knowing we're loading the framework or not
|
||||
Api\Hooks::process(array(
|
||||
'location' => 'framework_header',
|
||||
'popup' => !$do_framework,
|
||||
));
|
||||
|
||||
$this->tpl->set_var($this->_get_header($extra));
|
||||
$content = $this->tpl->fp('out','head').$content;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user