mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Only load api.js once
This commit is contained in:
parent
0ffe2666b3
commit
58cc1cda77
@ -34,7 +34,6 @@ InvenTree | Allocate Parts
|
|||||||
|
|
||||||
{% block js_load %}
|
{% block js_load %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<script src="{% static 'script/inventree/api.js' %}"></script>
|
|
||||||
<script src="{% static 'script/inventree/part.js' %}"></script>
|
<script src="{% static 'script/inventree/part.js' %}"></script>
|
||||||
<script src="{% static 'script/inventree/build.js' %}"></script>
|
<script src="{% static 'script/inventree/build.js' %}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -56,7 +56,6 @@
|
|||||||
|
|
||||||
{% block js_load %}
|
{% block js_load %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<script type='text/javascript' src="{% static 'script/inventree/api.js' %}"></script>
|
|
||||||
<script type='text/javascript' src="{% static 'script/inventree/part.js' %}"></script>
|
<script type='text/javascript' src="{% static 'script/inventree/part.js' %}"></script>
|
||||||
<script type='text/javascript' src="{% static 'script/inventree/bom.js' %}"></script>
|
<script type='text/javascript' src="{% static 'script/inventree/bom.js' %}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -61,7 +61,6 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block js_load %}
|
{% block js_load %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<script type='text/javascript' src="{% static 'script/inventree/api.js' %}"></script>
|
|
||||||
<script type='text/javacript' src="{% static 'script/inventree/stock.js' %}"></script>
|
<script type='text/javacript' src="{% static 'script/inventree/stock.js' %}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block js_ready %}
|
{% block js_ready %}
|
||||||
|
@ -129,7 +129,6 @@
|
|||||||
|
|
||||||
{% block js_load %}
|
{% block js_load %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<script type='text/javascript' src="{% static 'script/inventree/api.js' %}"></script>
|
|
||||||
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
|
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -37,7 +37,6 @@
|
|||||||
|
|
||||||
{% block js_load %}
|
{% block js_load %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<script type='text/javascript' src="{% static 'script/inventree/api.js' %}"></script>
|
|
||||||
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
|
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block js_ready %}
|
{% block js_ready %}
|
||||||
|
@ -69,7 +69,6 @@
|
|||||||
|
|
||||||
{% block js_load %}
|
{% block js_load %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<script type='text/javascript' src="{% static 'script/inventree/api.js' %}"></script>
|
|
||||||
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
|
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block js_ready %}
|
{% block js_ready %}
|
||||||
|
@ -25,7 +25,6 @@ InvenTree | Stock
|
|||||||
|
|
||||||
{% block js_load %}
|
{% block js_load %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<script type='text/javascript' src="{% static 'script/inventree/api.js' %}"></script>
|
|
||||||
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
|
<script type='text/javascript' src="{% static 'script/inventree/stock.js' %}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user