js/html: init plugin on error documents so we get proper JS variables set required for some imports (e.g chat_pop.mp3 which caused 404 on 500/4XX pages)
This commit is contained in:
parent
516d3ea18e
commit
2c8b886024
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
|||
// register templateContext to pass template variables to JS
|
||||
var templateContext = {timeago: {}};
|
||||
</script>
|
||||
<%include file="/base/plugins_base.mako"/>
|
||||
<script type="text/javascript" src="${h.asset('js/scripts.min.js', ver=c.rhodecode_version_hash)}"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue