mirror of https://github.com/apache/cloudstack.git
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:
parent
dafbdcb838
commit
3d2d1a2efc
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue