mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-07 21:55:20 +08:00
Fix error handling in result_assets [SCI-1288]
This commit is contained in:
parent
7ec53d493b
commit
bbf6d38c50
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@
|
|||
initPreviewModal();
|
||||
Comments.initialize();
|
||||
initNewResultAsset();
|
||||
}).on('ajax:error', function(xhr, status, e) {
|
||||
}).on('ajax:error', function(e, xhr) {
|
||||
$form.renderFormErrors('result', xhr.responseJSON, true, e);
|
||||
animateSpinner(null, false);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue