mirror of https://github.com/apache/cloudstack.git
CS-15318: Do not allow user to stop a VM in Starting State (hiding the stop button)
This commit is contained in:
parent
1168747128
commit
eb116b6ecb
|
|
@ -1321,7 +1321,7 @@
|
|||
}
|
||||
}
|
||||
else if (jsonObj.state == 'Starting') {
|
||||
allowedActions.push("stop");
|
||||
// allowedActions.push("stop");
|
||||
}
|
||||
else if (jsonObj.state == 'Error') {
|
||||
allowedActions.push("destroy");
|
||||
|
|
|
|||
Loading…
Reference in New Issue