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();
|
updateVMLoadingState();
|
||||||
}
|
} else if (actionID == 'remove') { //remove tier
|
||||||
|
$loading.remove();
|
||||||
else if (actionID == 'remove') { //remove tier
|
|
||||||
$tier.remove();
|
$tier.remove();
|
||||||
|
} else {
|
||||||
|
$loading.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -454,6 +455,8 @@
|
|||||||
function(args) {
|
function(args) {
|
||||||
if (actionID == 'addVM') {
|
if (actionID == 'addVM') {
|
||||||
updateVMLoadingState();
|
updateVMLoadingState();
|
||||||
|
} else {
|
||||||
|
$loading.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user