Move js attaching from install_done template to controller

This commit is contained in:
Dmitriy Simushev 2014-10-10 11:44:13 +00:00
parent 3339153ad3
commit e8b35a6971
2 changed files with 2 additions and 5 deletions

View File

@ -321,6 +321,8 @@ class InstallController extends AbstractController
array($login_url)
);
$this->getAssetManager()->attachJs('js/compiled/soundcheck.js');
return $this->renderStep(
'install_done',
array('loginLink' => $login_link)

View File

@ -1,9 +1,4 @@
{{#extends "install_step"}}
{{#override "head"}}
<script type="text/javascript" language="javascript" src="{{asset "js/compiled/soundcheck.js"}}"></script>
{{/override}}
{{#override "nextStep"}}
<br />
<b>{{l10n "Application installed successfully."}}</b> {{{loginLink}}}