From bdada2741667185e9a84fd7d3ddddd2c307935c9 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 5 Jun 2013 17:20:17 -0700 Subject: [PATCH] CLOUDSTACK-747: Internal LB detailView - Assigned VMs tab - Assign VMs action - trigger a refresh for the listView after action is finished. --- ui/scripts/vpc.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index af77545e9dc..e666ab9765f 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -693,7 +693,13 @@ success: function(data) { var jid = data.assigntoloadbalancerruleresponse.jobid; args.response.success({ - _custom: { jobId: jid } + _custom: { + jobId: jid, + getUpdatedItem: function(json) { + $('.list-view').listView('refresh'); + //return json.queryasyncjobresultresponse.jobresult.volume; + } + } }); } });