Skip to content

Commit 608cbd2

Browse files
committed
Instance wizard: show loading overlay on launch
When clicking the launch VM button, immediately show a loading overlay, preventing multple clicks which can accidentally launch multiple VMs.
1 parent 1b6e38f commit 608cbd2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ui/scripts/ui-custom/instanceWizard.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
// Save instance and close wizard
2323
var completeAction = function() {
2424
var data = cloudStack.serializeForm($form);
25+
var $wizardLoading = $('<div>').addClass('loading-overlay').appendTo($wizard).css('z-index', '10000');
2526

2627
args.action({
2728
// Populate data

0 commit comments

Comments
 (0)