mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
JS bug fix
This commit is contained in:
parent
83256b1014
commit
5c1fddd96d
@ -53,8 +53,6 @@ loadAttachmentTable(
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
onDelete: function(pk) {
|
onDelete: function(pk) {
|
||||||
var pk = button.attr('pk');
|
|
||||||
|
|
||||||
constructForm(`/api/order/so/attachment/${pk}/`, {
|
constructForm(`/api/order/so/attachment/${pk}/`, {
|
||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
confirmMessage: '{% trans "Confirm Delete Operation" %}',
|
confirmMessage: '{% trans "Confirm Delete Operation" %}',
|
||||||
|
Loading…
Reference in New Issue
Block a user