Commit 8614fc2a by Dányi Bence

webui: load store.js only if necessary

parent 4066c2c2
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
<script src="/static/script/less.min.js"></script> <script src="/static/script/less.min.js"></script>
<script src="/static/script/knockout.min.js"></script> <script src="/static/script/knockout.min.js"></script>
<script type="text/javascript" src="/static/script/util.js"></script> <script type="text/javascript" src="/static/script/util.js"></script>
<script type="text/javascript" src="/static/script/store.js"></script>
<script type="text/javascript" src="/static/script/cloud.js"></script> <script type="text/javascript" src="/static/script/cloud.js"></script>
{{ form.media }} {{ form.media }}
{% block js %}{% endblock %} {% block js %}{% endblock %}
......
{% extends "base.html" %} {% extends "base.html" %}
{% load i18n %} {% load i18n %}
{% get_current_language as LANGUAGE_CODE %} {% get_current_language as LANGUAGE_CODE %}
{% block js %}
<script type="text/javascript" src="/static/script/store.js"></script>
{% endblock %}
{% block content %} {% block content %}
<div class="boxes"> <div class="boxes">
{% include "box/vm/box.html" %} {% include "box/vm/box.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 sign in to comment