From eb116b6ecba77bd7e0b61fd8528dffc245e89355 Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Thu, 2 Aug 2012 14:22:53 +0530 Subject: [PATCH] CS-15318: Do not allow user to stop a VM in Starting State (hiding the stop button) --- 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 c2a59ea2157..345f4563dac 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -1321,7 +1321,7 @@ } } else if (jsonObj.state == 'Starting') { - allowedActions.push("stop"); + // allowedActions.push("stop"); } else if (jsonObj.state == 'Error') { allowedActions.push("destroy");