mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
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
1ba451b65f
commit
ae45ed65c6
@ -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();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user