mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
volume-upload: UI > dialog widget - args.form.fileUpload.postUpload - fix a bug that loading image (spinning wheel, freezing screen) does not disappear after action succeeds/fails.
This commit is contained in:
parent
e08522dbaa
commit
31dea7de2e
@ -738,6 +738,9 @@
|
||||
});
|
||||
|
||||
$('div.overlay').remove();
|
||||
$form.find('.loading-overlay').remove();
|
||||
$('div.loading-overlay').remove();
|
||||
|
||||
$('.tooltip-box').remove();
|
||||
$formContainer.remove();
|
||||
$(this).dialog('destroy');
|
||||
@ -745,7 +748,10 @@
|
||||
$('.hovered-elem').hide();
|
||||
},
|
||||
error: function(msg) {
|
||||
$('div.overlay').remove();
|
||||
$form.find('.loading-overlay').remove();
|
||||
$('div.loading-overlay').remove();
|
||||
|
||||
cloudStack.dialog.error({ message: msg });
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user