mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-23 05:24:34 +08:00
Set spinner to the table
This commit is contained in:
parent
ed77d95abd
commit
74f38af54f
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…
Add table
Reference in a new issue