You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2013/06/12 20:22:15 UTC

[06/50] [abbrv] git commit: updated refs/heads/object_store to 18aeef3

CLOUDSTACK-747: Internal LB detailView - Assigned VMs tab - Assign VMs action - trigger a refresh for the listView after action is finished.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/bdada274
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/bdada274
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/bdada274

Branch: refs/heads/object_store
Commit: bdada2741667185e9a84fd7d3ddddd2c307935c9
Parents: 5a64377
Author: Jessica Wang <je...@apache.org>
Authored: Wed Jun 5 17:20:17 2013 -0700
Committer: Jessica Wang <je...@apache.org>
Committed: Wed Jun 5 17:20:17 2013 -0700

----------------------------------------------------------------------
 ui/scripts/vpc.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/bdada274/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index af77545..e666ab9 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;
+                                }
+                              }
                             });
                           }
                         });