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)
ergo -
r4284:2d01fa4d default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -21,6 +21,7
21 // register templateContext to pass template variables to JS
21 // register templateContext to pass template variables to JS
22 var templateContext = {timeago: {}};
22 var templateContext = {timeago: {}};
23 </script>
23 </script>
24 <%include file="/base/plugins_base.mako"/>
24 <script type="text/javascript" src="${h.asset('js/scripts.min.js', ver=c.rhodecode_version_hash)}"></script>
25 <script type="text/javascript" src="${h.asset('js/scripts.min.js', ver=c.rhodecode_version_hash)}"></script>
25 </head>
26 </head>
26 <body>
27 <body>
Comments 0
You need to be logged in to leave comments. Login now