ui: fix context dump

This commit is contained in:
undefined committed 2021-07-26 12:01:34 +08:00
1 parent e2e0a7c5c7
commit 39b90b3ff5
2 files changed
+5 -1

No files matched your search

@@ -42,6 +42,10 @@
<body>
{% block body %}{% endblock %}
{% if not isIE(handler.request.headers['user-agent']) %}
<script>
UiContext = '{{ UiContext|json|jsesc|safe }}';
UserContext = '{{ UserContext|json|jsesc|safe }}';
</script>
<script type="text/javascript" src="{{ ('/locale/{0}.js'.format(handler.translate('__id'))) }}"></script>
<script type="text/javascript" src="/ui-constants.js"></script>
<script type="text/javascript" src="{{ static_url('hydro.js') }}"></script>