From 160d71fe3894d3293a8b458854017c80e07f167f Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Thu, 2 Aug 2012 14:17:58 +0530 Subject: [PATCH] CS-15318:Do not allow user to stop a VM when it is in Starting state --- ui/scripts/instances.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 39e8d6e9293..8597394f53c 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -1361,7 +1361,7 @@ } } else if (jsonObj.state == 'Starting') { - allowedActions.push("stop"); + // allowedActions.push("stop"); } else if (jsonObj.state == 'Error') { allowedActions.push("destroy");