mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3154: UI > Infrastructure > zone detail > remove VMware datacenter action > fix a bug that incorrect property name was used to retrieve embedded object in API response.
This commit is contained in:
parent
30a680efc5
commit
b8ed87246f
|
|
@ -5709,10 +5709,14 @@
|
|||
url: createURL('removeVmwareDc'),
|
||||
data: data,
|
||||
success: function(json) {
|
||||
var item = json.updatezoneresponse.zone;
|
||||
args.response.success({
|
||||
actionFilter: zoneActionfilter,
|
||||
data: item
|
||||
delete args.context.physicalResources[0].vmwaredcName;
|
||||
delete args.context.physicalResources[0].vmwaredcVcenter;
|
||||
delete args.context.physicalResources[0].vmwaredcId;
|
||||
|
||||
selectedZoneObj = args.context.physicalResources[0];
|
||||
|
||||
args.response.success({
|
||||
data: args.context.physicalResources[0]
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue