mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - System VM page - implement Refresh button.
This commit is contained in:
parent
3a5a60c0be
commit
3cf68e14c7
|
|
@ -3914,11 +3914,18 @@
|
|||
activeviewersessions: { label: 'label.active.sessions' }
|
||||
}
|
||||
],
|
||||
dataProvider: function(args) {
|
||||
args.response.success({
|
||||
actionFilter: systemvmActionfilter,
|
||||
data: args.jsonObj
|
||||
});
|
||||
dataProvider: function(args) {
|
||||
$.ajax({
|
||||
url: createURL("listSystemVms&id=" + args.context.systemVMs[0].id),
|
||||
dataType: "json",
|
||||
async: true,
|
||||
success: function(json) {
|
||||
args.response.success({
|
||||
actionFilter: systemvmActionfilter,
|
||||
data: json.listsystemvmsresponse.systemvm[0]
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue