mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 02:11:16 +00:00
Move modal JS file
- Loaded by base.
This commit is contained in:
1 parent
ee0c664d28
commit
c5155d5ac7
12 files changed
+7
-41
No files matched your search
@@ -129,10 +129,8 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block js_load %}
|
||||
<script type='text/javascript' src="{% static 'script/modal_form.js' %}"></script>
|
||||
{% endblock %}
|
||||
{% block js_ready %}
|
||||
{{ block.super }}
|
||||
$("#stock-edit").click(function () {
|
||||
launchModalForm("#modal-form",
|
||||
"{% url 'stock-item-edit' item.id %}",
|
||||
|
||||
@@ -61,7 +61,6 @@
|
||||
{{ 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/modal_form.js' %}"></script>
|
||||
{% endblock %}
|
||||
{% block js_ready %}
|
||||
{{ block.super }}
|
||||
|
||||
Reference in new issue
Block a user