mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - physical network page - Network Service Providers - F5 - devices - detailView - implement Refresh button.
This commit is contained in:
parent
ac0e2c314e
commit
b2a0b33c84
|
|
@ -4444,8 +4444,16 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
dataProvider: function(args) {
|
||||
args.response.success({data: args.context.f5Providers[0]});
|
||||
dataProvider: function(args) {
|
||||
$.ajax({
|
||||
url: createURL("listF5LoadBalancers&lbdeviceid=" + args.context.f5Providers[0].lbdeviceid),
|
||||
dataType: "json",
|
||||
async: true,
|
||||
success: function(json) {
|
||||
var item = json.listf5loadbalancerresponse.f5loadbalancer[0];
|
||||
args.response.success({data: item});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue