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:
Oliver 2022-06-04 09:11:30 +10:00 committed by GitHub
parent 0c8bb7328a
commit 80b10c62f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@
},
label: 'attachment',
success: function(data, status, xhr) {
location.reload();
$('#attachment-table').bootstrapTable('refresh');
}
}
);