mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-30 08:54:31 +08:00
Merge pull request #635 from okriuchykhin/ok_SCI_1288
Fix error handling in result_assets [SCI-1288]
This commit is contained in:
commit
31e41fd8ae
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