mirror of https://github.com/apache/cloudstack.git
bug 13577: volume page - show "Download volume" option only when corresponding vm is stopped
This commit is contained in:
parent
f1cd0a482a
commit
0d1f207887
|
|
@ -1168,7 +1168,7 @@
|
|||
allowedActions.push("recurringSnapshot");
|
||||
}
|
||||
if(jsonObj.state != "Allocated") {
|
||||
if(jsonObj.hypervisor != "Ovm") {
|
||||
if(jsonObj.hypervisor != "Ovm" && jsonObj.vmstate == "Stopped") {
|
||||
allowedActions.push("downloadVolume");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue