mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 01:03:18 +08:00
Merge pull request #2345 from urbanrotnik/ur-sci-4266-duplicate-spinner
Set spinner to the table [SCI-4266]
This commit is contained in:
commit
b0432fd10b
1 changed files with 1 additions and 1 deletions
|
@ -38,13 +38,13 @@ var RepositoryDatatableRowEditor = (function() {
|
|||
|
||||
if (!valid) return false;
|
||||
|
||||
animateSpinner($table, true);
|
||||
// DirectUpload here
|
||||
let uploadPromise = Asset.uploadFiles($files, directUrl);
|
||||
|
||||
// Submission here
|
||||
uploadPromise
|
||||
.then(function() {
|
||||
animateSpinner(null, true);
|
||||
$form.submit();
|
||||
return false;
|
||||
}).catch((reason) => {
|
||||
|
|
Loading…
Reference in a new issue