diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 9a9c7f6b011..acafd3e77fb 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -6910,11 +6910,19 @@ } ], - dataProvider: function(args) { - args.response.success({ - actionFilter: secondarystorageActionfilter, - data: args.context.secondarystorages[0] - }); + dataProvider: function(args) { + $.ajax({ + url: createURL("listHosts&type=SecondaryStorage&id=" + args.context.secondarystorages[0].id), + dataType: "json", + async: true, + success: function(json) { + var item = json.listhostsresponse.host[0]; + args.response.success({ + actionFilter: secondarystorageActionfilter, + data:item + }); + } + }); } } }