From cf0cc30aed20006263a4340bc1087097d4071862 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 4 Apr 2012 15:03:13 -0700 Subject: [PATCH] bug 14591: cloudstack 3.0 UI - remove Change Service option from router page. --- ui/scripts/system.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 2071642bec4..25031bae352 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -2110,7 +2110,8 @@ poll: pollAsyncJobResult } }, - + + /* changeService: { label: 'label.change.service.offering', createForm: { @@ -2165,6 +2166,7 @@ } } }, + */ migrate: { label: 'label.action.migrate.router', @@ -7427,15 +7429,15 @@ if (jsonObj.state == 'Running') { allowedActions.push("stop"); allowedActions.push("restart"); - allowedActions.push("changeService"); + //allowedActions.push("changeService"); allowedActions.push("viewConsole"); if (isAdmin()) allowedActions.push("migrate"); } else if (jsonObj.state == 'Stopped') { allowedActions.push("start"); - allowedActions.push("remove"); - allowedActions.push("changeService"); + allowedActions.push("remove"); + //allowedActions.push("changeService"); } return allowedActions; }