From b2a0b33c846c0aafab87af2baab0cf18167a8b98 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 10 Apr 2012 15:00:46 -0700 Subject: [PATCH] cloudstack 3.0 UI - physical network page - Network Service Providers - F5 - devices - detailView - implement Refresh button. --- ui/scripts/system.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 99fe7c7c9d8..a954f03de21 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -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}); + } + }); } } }