From 4f748e6e308a804d2d2cb14798ff26b9d56ddc0e Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Fri, 5 Dec 2014 14:40:21 -0800 Subject: [PATCH] CLOUDSTACK-8039: UI > Infrastructure > router, systemvm > detailView > hide ChangeServiceOffering action when vm's hypervisor is XenServer and vm's status is Running. --- ui/scripts/system.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index a056343d1c0..005b47e1b12 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -20567,8 +20567,8 @@ if (jsonObj.state == 'Running') { allowedActions.push("stop"); - //when router is Running, only XenServer, VMware support scaleUp(change service offering) - if (jsonObj.hypervisor == 'XenServer' || jsonObj.hypervisor == "VMware") { + //when router is Running, only VMware support scaleUp(change service offering) + if (jsonObj.hypervisor == "VMware") { allowedActions.push("scaleUp"); } @@ -20613,8 +20613,8 @@ allowedActions.push("restart"); allowedActions.push("remove"); - //when systemvm is Running, only XenServer, VMware support scaleUp(change service offering) - if (jsonObj.hypervisor == 'XenServer' ||jsonObj.hypervisor == "VMware") { + //when systemvm is Running, only VMware support scaleUp(change service offering) + if (jsonObj.hypervisor == "VMware") { allowedActions.push("scaleUp"); }