You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/05/13 23:06:51 UTC

git commit: updated refs/heads/ui-vpc-redesign to c819980

Updated Branches:
  refs/heads/ui-vpc-redesign 40dc2211d -> c81998033


Add place holder for internal LB


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

Branch: refs/heads/ui-vpc-redesign
Commit: c819980338b852a54f411a385e8b979b4b23d578
Parents: 40dc221
Author: Brian Federle <br...@citrix.com>
Authored: Mon May 13 14:06:43 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Mon May 13 14:06:43 2013 -0700

----------------------------------------------------------------------
 ui/scripts/vpc.js |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c8199803/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 6970d47..ad03a2d 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -219,7 +219,7 @@
               args.response.success({
                 _custom: {
                   jobId: jobID,
-                  getUpdatedItem: function() {
+                  getUpdateIdtem: function() {
                     $(window).trigger('cloudStack.fullRefresh');
                   }
                 },
@@ -279,6 +279,19 @@
   cloudStack.vpc = {
     // nTier sections
     sections: {
+      // Internal load balancers
+      tierLoadBalancers: {
+        listView: {
+          fields: {
+            name: { label: 'label.name' },
+            total: { label: 'label.total' }
+          },
+          dataProvider: function(args) {
+            args.response.success({ data: [] });
+          }
+        }
+      }
+      
       // Private gateways
       privateGateways: function() {
         return cloudStack.vpc.gateways.listView()