fix backend js

parent 4c3e05c0
...@@ -30,7 +30,6 @@ class AppAsset extends AssetBundle ...@@ -30,7 +30,6 @@ class AppAsset extends AssetBundle
'plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js', 'plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js',
'plugins/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.ru.js', 'plugins/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.ru.js',
'plugins/tinymce/js/tinymce/tinymce.min.js', 'plugins/tinymce/js/tinymce/tinymce.min.js',
'plugins/jquery-tag-it/js/tag-it.min.js',
'js/form-load.js' 'js/form-load.js'
]; ];
public $depends = [ public $depends = [
......
...@@ -148,6 +148,7 @@ assets\AppAsset::register($this); ...@@ -148,6 +148,7 @@ assets\AppAsset::register($this);
<!-- end page container --> <!-- end page container -->
<?php $this->endBody() ?> <?php $this->endBody() ?>
<?php $this->registerJsFile('/plugins/jquery-tag-it/js/tag-it.min.js', ['position' => \yii\web\View::POS_END ]);?>
<?php echo $this->render('foot')?> <?php echo $this->render('foot')?>
</body> </body>
</html> </html>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment