Updated Branches: refs/heads/master 5a525211d -> 84634d4cf
CLOUDSTACK-2782: UI - Infrastructure menu - zone detail page - rename action name to be more clear. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/84634d4c Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/84634d4c Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/84634d4c Branch: refs/heads/master Commit: 84634d4cf62d50f95e2e76445f77049d3eb8ca8e Parents: 5a52521 Author: Jessica Wang <[email protected]> Authored: Mon Jun 3 16:45:49 2013 -0700 Committer: Jessica Wang <[email protected]> Committed: Mon Jun 3 16:45:49 2013 -0700 ---------------------------------------------------------------------- ui/scripts/system.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/84634d4c/ui/scripts/system.js ---------------------------------------------------------------------- diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 7683662..8fa7a84 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -5536,7 +5536,7 @@ } }, - dedicate:{ + dedicateZone:{ label: 'Dedicate Zone', messages: { confirm: function(args) { @@ -5611,7 +5611,7 @@ }, - release:{ + releaseDedicatedZone:{ label:'Release Dedicated Zone', messages:{ confirm: function(args) { @@ -13308,9 +13308,9 @@ allowedActions.push('removeVmwareDc'); if(jsonObj.domainid != null) - allowedActions.push("release"); + allowedActions.push("releaseDedicatedZone"); else - allowedActions.push("dedicate"); + allowedActions.push("dedicateZone"); allowedActions.push("edit"); if(jsonObj.allocationstate == "Disabled")
