mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-14 15:41:10 +00:00
Added modal form success messages
- More to be done, just a start - Create / edit / delete
This commit is contained in:
@@ -99,7 +99,8 @@
|
||||
$('#delete-part').click(function() {
|
||||
launchDeleteForm("#modal-delete",
|
||||
"{% url 'part-delete' part.id %}",
|
||||
{redirect: "{% url 'part-index' %}"}
|
||||
);
|
||||
{
|
||||
redirect: {% if part.category %}"{% url 'category-detail' part.category.id %}"{% else %}"{% url 'part-index' %}"}{% endif %}
|
||||
});
|
||||
});
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user