mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Updated form for deleting part attachments
This commit is contained in:
parent
fcdddf6bb6
commit
ffa5a25fa9
@ -1,3 +1,7 @@
|
||||
{% extends "modal_delete_form.html" %}
|
||||
|
||||
{% block pre_form_content %}
|
||||
Are you sure you wish to delete this attachment?
|
||||
<br>
|
||||
This will remove the file '{{ attachment.basename }}'.
|
||||
This will remove the file '{{ attachment.basename }}'.
|
||||
{% endblock %}
|
@ -62,7 +62,7 @@
|
||||
$("#attachment-table").on('click', '.attachment-delete-button', function() {
|
||||
var button = $(this);
|
||||
|
||||
launchDeleteForm(button.attr('url'), {
|
||||
launchModalForm(button.attr('url'), {
|
||||
success: function() {
|
||||
location.reload();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user