Move thread log app initialization to controller

This commit is contained in:
Dmitriy Simushev 2014-10-10 12:25:53 +00:00
parent 3081dcc8db
commit d01bd8a080
2 changed files with 2 additions and 3 deletions

View File

@ -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);
}

View File

@ -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(){