VPC tier UI: Fix loading state for other actions

Fix actions other than the add VM action, whose loading state was
never removed
This commit is contained in:
Brian Federle 2012-07-26 14:41:37 -07:00
parent 1ba451b65f
commit ae45ed65c6

View File

@ -440,10 +440,11 @@
});
updateVMLoadingState();
}
else if (actionID == 'remove') { //remove tier
} else if (actionID == 'remove') { //remove tier
$loading.remove();
$tier.remove();
} else {
$loading.remove();
}
},
@ -454,6 +455,8 @@
function(args) {
if (actionID == 'addVM') {
updateVMLoadingState();
} else {
$loading.remove();
}
}
);