cloudstack 3.0 UI - Pod page - detail view - implement Refresh button.

This commit is contained in:
Jessica Wang 2012-04-10 15:51:45 -07:00
parent 4e4748ad45
commit bd7f16eb65
1 changed files with 13 additions and 5 deletions

View File

@ -4963,11 +4963,19 @@
}
],
dataProvider: function(args) {
args.response.success({
actionFilter: podActionfilter,
data: args.context.pods[0]
});
dataProvider: function(args) {
$.ajax({
url: createURL("listPods&id=" + args.context.pods[0].id),
dataType: "json",
async: true,
success: function(json) {
var item = json.listpodsresponse.pod[0];
args.response.success({
actionFilter: podActionfilter,
data:item
});
}
});
}
},