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:
@ -31,7 +31,7 @@
|
||||
{% block js_ready %}
|
||||
{{ block.super }}
|
||||
$("#new-build").click(function() {
|
||||
launchModalForm("#modal-form",
|
||||
launchModalForm(
|
||||
"{% url 'build-create' %}",
|
||||
{
|
||||
follow: true
|
||||
|
Reference in New Issue
Block a user