From 512e3427bfa477ff94b93ab1ffb27f35470f9c08 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Fri, 18 May 2012 17:03:47 -0700 Subject: [PATCH] CS-14949: cloudstack 3.0 UI - Instance page - hide Edit option when status is Running. --- ui/scripts/instances.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 6d1be3710a5..e7767f6442b 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -1716,8 +1716,7 @@ allowedActions.push("restore"); } } - else if (jsonObj.state == 'Running') { - allowedActions.push("edit"); + else if (jsonObj.state == 'Running') { allowedActions.push("stop"); allowedActions.push("restart"); allowedActions.push("destroy");