CS-15318:Do not allow user to stop a VM when it is in Starting state

This commit is contained in:
Pranav Saxena 2012-08-02 14:17:58 +05:30
parent 0f302f9e42
commit 160d71fe38
1 changed files with 1 additions and 1 deletions

View File

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