Prevent double loading of stock.js

This commit is contained in:
Oliver Walters 2019-05-14 23:47:15 +10:00
parent 2e5b3bfdf9
commit f979edef8e
5 changed files with 1 additions and 4 deletions

View File

@ -61,7 +61,6 @@
{% endblock %}
{% block js_load %}
{{ block.super }}
<script type='text/javacript' src="{% static 'script/inventree/stock.js' %}"></script>
{% endblock %}
{% block js_ready %}
{{ block.super }}

View File

@ -129,7 +129,6 @@
{% block js_load %}
{{ block.super }}
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
{% endblock %}
{% block js_ready %}

View File

@ -29,6 +29,7 @@ InvenTree | Part List
{% block js_load %}
{{ block.super }}
<script type='text/javascript' src="{% static 'script/inventree/part.js' %}"></script>
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
{% endblock %}
{% block js_ready %}

View File

@ -37,7 +37,6 @@
{% block js_load %}
{{ block.super }}
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
{% endblock %}
{% block js_ready %}
{{ block.super }}

View File

@ -69,7 +69,6 @@
{% block js_load %}
{{ block.super }}
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
{% endblock %}
{% block js_ready %}
{{ block.super }}