bug 13923: volume page - make download volume action available on volumes whose hypervisor is OVM.

This commit is contained in:
Jessica Wang 2012-02-22 10:54:02 -08:00
parent db255b31dd
commit 1cd1152dd0
1 changed files with 1 additions and 1 deletions

View File

@ -1163,7 +1163,7 @@
allowedActions.push("recurringSnapshot");
}
if(jsonObj.state != "Allocated") {
if(jsonObj.hypervisor != "Ovm" && jsonObj.vmstate == "Stopped") {
if(jsonObj.vmstate == "Stopped") {
allowedActions.push("downloadVolume");
}
}