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.
This commit is contained in:
bfederle 2012-03-29 13:49:55 -07:00
parent 1b6e38f3d5
commit 608cbd266f
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@
// Save instance and close wizard
var completeAction = function() {
var data = cloudStack.serializeForm($form);
var $wizardLoading = $('<div>').addClass('loading-overlay').appendTo($wizard).css('z-index', '10000');
args.action({
// Populate data