Replace PartAttachmentEdit view

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

No files matched your search

@@ -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" %}',