cloudstack 3.0 UI - System VM page - implement Refresh button.

This commit is contained in:
Jessica Wang 2012-04-09 14:23:14 -07:00
parent 3a5a60c0be
commit 3cf68e14c7
1 changed files with 12 additions and 5 deletions

View File

@ -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]
});
}
});
}
}
}