CS-15318: Do not allow user to stop a VM in Starting State (hiding the stop button)

This commit is contained in:
Pranav Saxena 2012-08-02 14:22:53 +05:30
parent 1168747128
commit eb116b6ecb
1 changed files with 1 additions and 1 deletions

View File

@ -1321,7 +1321,7 @@
}
}
else if (jsonObj.state == 'Starting') {
allowedActions.push("stop");
// allowedActions.push("stop");
}
else if (jsonObj.state == 'Error') {
allowedActions.push("destroy");