mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
Fix behaviour of attachment table for purchase orders (#3127)
- Refresh table, rather than reloading page! (cherry picked from commit 141c2370e3a19526def9bfcd7ccac50e60e1684a)
This commit is contained in:
@ -135,7 +135,7 @@
|
|||||||
},
|
},
|
||||||
label: 'attachment',
|
label: 'attachment',
|
||||||
success: function(data, status, xhr) {
|
success: function(data, status, xhr) {
|
||||||
location.reload();
|
$('#attachment-table').bootstrapTable('refresh');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user