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 dafbdcb838
commit 3d2d1a2efc
1 changed files with 6 additions and 3 deletions

View File

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