mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +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:
parent
0c8bb7328a
commit
80b10c62f3
@ -135,7 +135,7 @@
|
|||||||
},
|
},
|
||||||
label: 'attachment',
|
label: 'attachment',
|
||||||
success: function(data, status, xhr) {
|
success: function(data, status, xhr) {
|
||||||
location.reload();
|
$('#attachment-table').bootstrapTable('refresh');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user