mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 13:24:41 +03:00
Move thread log app initialization to controller
This commit is contained in:
parent
3081dcc8db
commit
d01bd8a080
@ -206,6 +206,8 @@ class HistoryController extends AbstractController
|
||||
|
||||
$page = array_merge($page, prepare_menu($operator, false));
|
||||
|
||||
$this->getAssetManager()->attachJs('js/compiled/thread_log_app.js');
|
||||
|
||||
return $this->render('history_thread', $page);
|
||||
}
|
||||
|
||||
|
@ -1,8 +1,5 @@
|
||||
{{#extends "_layout"}}
|
||||
{{#override "head"}}
|
||||
<!-- Application files -->
|
||||
<script type="text/javascript" src="{{asset "js/compiled/thread_log_app.js"}}"></script>
|
||||
|
||||
<!-- Start application -->
|
||||
<script type="text/javascript"><!--
|
||||
jQuery(document).ready(function(){
|
||||
|
Loading…
Reference in New Issue
Block a user