From 608cbd266f2ac93c826014762c4e4402995eaee7 Mon Sep 17 00:00:00 2001 From: bfederle Date: Thu, 29 Mar 2012 13:49:55 -0700 Subject: [PATCH] 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. --- ui/scripts/ui-custom/instanceWizard.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/scripts/ui-custom/instanceWizard.js b/ui/scripts/ui-custom/instanceWizard.js index 513c47c6e07..d1846296638 100644 --- a/ui/scripts/ui-custom/instanceWizard.js +++ b/ui/scripts/ui-custom/instanceWizard.js @@ -22,6 +22,7 @@ // Save instance and close wizard var completeAction = function() { var data = cloudStack.serializeForm($form); + var $wizardLoading = $('
').addClass('loading-overlay').appendTo($wizard).css('z-index', '10000'); args.action({ // Populate data