mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - Primary Storage page - detail view - implement Refresh button.
This commit is contained in:
parent
3c79f45994
commit
3ae0ecb0eb
|
|
@ -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
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue