mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 19:15:41 +00:00
Open a secondary modal over the top of a primary one
This commit is contained in:
@ -128,17 +128,19 @@
|
||||
|
||||
attachSecondaryModal(modal,
|
||||
{
|
||||
'field': 'part',
|
||||
'label': 'New Part',
|
||||
'title': 'Create New Part',
|
||||
field: 'part',
|
||||
label: 'New Part',
|
||||
title: 'Create New Part',
|
||||
url: "{% url 'part-create' %}",
|
||||
}
|
||||
);
|
||||
|
||||
attachSecondaryModal(modal,
|
||||
{
|
||||
'field': 'location',
|
||||
'label': 'New Location',
|
||||
'title': 'Create New Location'
|
||||
field: 'location',
|
||||
label: 'New Location',
|
||||
title: 'Create New Location',
|
||||
url: "{% url 'stock-location-create' %}",
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user