mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - Host page - detail view - implement Refresh button.
This commit is contained in:
parent
3c8a90d351
commit
36e8de0082
|
|
@ -6049,13 +6049,20 @@
|
|||
}
|
||||
],
|
||||
|
||||
dataProvider: function(args) {
|
||||
args.response.success({
|
||||
actionFilter: hostActionfilter,
|
||||
data: args.context.hosts[0]
|
||||
});
|
||||
dataProvider: function(args) {
|
||||
$.ajax({
|
||||
url: createURL("listHosts&id=" + args.context.hosts[0].id),
|
||||
dataType: "json",
|
||||
async: true,
|
||||
success: function(json) {
|
||||
var item = json.listhostsresponse.host[0];
|
||||
args.response.success({
|
||||
actionFilter: hostActionfilter,
|
||||
data: item
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
stats: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue