2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

Replace PartAttachmentEdit view

This commit is contained in:
Oliver
2021-06-30 09:49:30 +10:00
parent 238dccc071
commit b946aedb5c
5 changed files with 21 additions and 32 deletions

View File

@ -25,7 +25,6 @@ enableDragAndDrop(
{
data: {
stock_item: {{ item.id }},
user: {{ user.pk }},
},
label: 'attachment',
success: function(data, status, xhr) {
@ -47,10 +46,6 @@ $("#new-attachment").click(function() {
value: {{ item.pk }},
hidden: true,
},
user: {
value: {{ user.pk }},
hidden: true,
}
},
reload: true,
title: '{% trans "Add Attachment" %}',