2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00

Move modal JS file

- Loaded by base.
This commit is contained in:
Oliver
2018-05-08 19:40:29 +10:00
parent ee0c664d28
commit c5155d5ac7
12 changed files with 7 additions and 41 deletions

View File

@ -80,12 +80,8 @@
{% endblock %}
{% block js_load %}
<script type='text/javascript' src="{% static 'script/modal_form.js' %}"></script>
{% endblock %}
{% block js_ready %}
{{ block.super }}
$("#edit-build").click(function () {
launchModalForm("#modal-form",
"{% url 'build-edit' build.id %}",

View File

@ -28,11 +28,8 @@
{% endblock %}
{% block js_load %}
<script type='text/javascript' src="{% static 'script/modal_form.js' %}"></script>
{% endblock %}
{% block js_ready %}
{{ block.super }}
$("#new-build").click(function() {
launchModalForm("#modal-form",
"{% url 'build-create' %}",