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.

reviewed-by: jessica
This commit is contained in:
bfederle 2012-03-29 13:55:52 -07:00
parent 8d64e4a8e6
commit fa3d5612e0
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