diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 859fa7adbb9..9a9c7f6b011 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -6743,13 +6743,20 @@ } ], - dataProvider: function(args) { - args.response.success({ - actionFilter: primarystorageActionfilter, - data: args.context.primarystorages[0] - }); + dataProvider: function(args) { + $.ajax({ + url: createURL("listStoragePools&id=" + args.context.primarystorages[0].id), + dataType: "json", + async: true, + success: function(json) { + var item = json.liststoragepoolsresponse.storagepool[0]; + args.response.success({ + actionFilter: primarystorageActionfilter, + data:item + }); + } + }); } - } } }