Network offering details: Service providers are not displayed anywhere:Modifying the code structure for map loop to retrieve the list of service providers in the form of key-value pairs

This commit is contained in:
Pranav Saxena 2012-11-08 16:17:34 +05:30
parent fda31ab4b7
commit dcdf35fc1e
1 changed files with 2 additions and 2 deletions

View File

@ -1991,8 +1991,8 @@
}).join(', '),
serviceCapabilities: $.map(item.service, function(service) {
return service.capability ? $.map(service.capability, function(capability) {
return capability.name + ': ' + capability.value;
return service.provider ? $.map(service.provider, function(capability) {
return service.name + ': ' + capability.name;
}).join(', ') : null;
}).join(', ')
})