CLOUDSTACK-7383: UI > Instances menu > detail view > TakeSnapshot action should be hidden when VM's hypervisor is LXC.

This commit is contained in:
Jessica Wang 2015-01-02 14:06:28 -08:00
parent b64fa34ce9
commit 7fe1ed9dc8
1 changed files with 2 additions and 2 deletions

View File

@ -2435,7 +2435,7 @@
allowedActions.push("restart");
if ((jsonObj.hypervisor != 'KVM' || g_kvmsnapshotenabled == true)
|| (jsonObj.hypervisor != 'LXC')) {
&& (jsonObj.hypervisor != 'LXC')) {
allowedActions.push("snapshot");
}
@ -2469,7 +2469,7 @@
allowedActions.push("reinstall");
if ((jsonObj.hypervisor != 'KVM' || g_kvmsnapshotenabled == true)
|| (jsonObj.hypervisor != 'LXC')) {
&& (jsonObj.hypervisor != 'LXC')) {
allowedActions.push("snapshot");
}