From 331b89b7e10339556891d31d0088626080076ff9 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 29 May 2012 11:44:39 -0700 Subject: [PATCH] CS-15126 -Hide 'type' field, as dvSwitch doesn't return a type -Get zone name from the cluster's data reviewed-by: jessica --- ui/scripts/system.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 18ed9a9e26a..48a48c78202 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -6495,7 +6495,6 @@ id: 'vSwitches', fields: { vsmdeviceid: { label: 'label.name' }, - type: { label: 'label.type' }, zonename: { label: 'label.zone' }, vsmdevicestate: { label: 'label.status' } }, @@ -6644,7 +6643,9 @@ var item = json.listcisconexusvsmscmdresponse.cisconexusvsm; args.response.success({ actionFilter: nexusActionfilter, - data: item + data: $.extend(item, { + zonename: args.context.clusters[0].zonename + }) }); }, error: function(json) {