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 775e4d34c3
commit 744c1a1b03
1 changed files with 2 additions and 2 deletions

View File

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