mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Merge pull request #548 from ZmagoD/zd_SCI_1129_v2
Disables annimateSpiner in result assets actions
This commit is contained in:
commit
ec60044949
1 changed files with 3 additions and 2 deletions
|
@ -17,7 +17,7 @@ $("#new-result-asset").on("ajax:success", function(e, data) {
|
|||
});
|
||||
|
||||
$("#new-result-asset").on("ajax:error", function(e, xhr, status, error) {
|
||||
// TODO
|
||||
animateSpinner(null, false);
|
||||
});
|
||||
|
||||
// Edit result asset button behaviour
|
||||
|
@ -46,7 +46,7 @@ function applyEditResultAssetCallback() {
|
|||
});
|
||||
|
||||
$(".edit-result-asset").on("ajax:error", function(e, xhr, status, error) {
|
||||
// TODO
|
||||
animateSpinner(null, false);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -75,6 +75,7 @@ function formAjaxResultAsset($form) {
|
|||
else
|
||||
errors = data.responseJSON.errors;
|
||||
$form.renderFormErrors("result", errors, true, e);
|
||||
animateSpinner(null, false);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue