System page - zone detail chart - compute tab - pods listView - JS error "selectedZoneObj is undefined"

This commit is contained in:
Jessica Wang 2012-01-25 15:38:43 -08:00
parent 2ea75da700
commit df59276eb9
1 changed files with 2 additions and 2 deletions

View File

@ -1444,8 +1444,7 @@
vlan: { label: 'VLAN Range' }
}
},
dataProvider: function(args) {
selectedZoneObj = args.context.zones[0];
dataProvider: function(args) {
cloudStack.sections.system.naas.networkProviders.statusCheck({
context: args.context
});
@ -3132,6 +3131,7 @@
id: args.context.physicalResources[0].id
},
success: function(json) {
selectedZoneObj = json.listzonesresponse.zone[0];
args.response.success({ data: json.listzonesresponse.zone[0] });
}
});