2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00

Simplified modal calls

- Default modal target supplied (can be overridden in options)
This commit is contained in:
Oliver
2018-05-08 19:55:39 +10:00
parent c5155d5ac7
commit 3f1c6e2059
16 changed files with 55 additions and 43 deletions

View File

@ -31,7 +31,7 @@
{% block js_ready %}
{{ block.super }}
$("#new-build").click(function() {
launchModalForm("#modal-form",
launchModalForm(
"{% url 'build-create' %}",
{
follow: true