cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/ui-vpc-redesign to 7c05bb1
Date Tue, 21 May 2013 22:51:17 GMT
Updated Branches:
  refs/heads/ui-vpc-redesign 62f7ab6ff -> 7c05bb13c


Fix quickview for ACL list


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

Branch: refs/heads/ui-vpc-redesign
Commit: 7c05bb13ccd3cb5be9e22ec472db4b8f368bd4f8
Parents: 62f7ab6
Author: Brian Federle <bfederle@gmail.com>
Authored: Tue May 21 15:51:15 2013 -0700
Committer: Brian Federle <bfederle@gmail.com>
Committed: Tue May 21 15:51:15 2013 -0700

----------------------------------------------------------------------
 ui/scripts/vpc.js |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7c05bb13/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index 617d9fa..e47cb12 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -706,16 +706,18 @@
                 ],
                 dataProvider: function(args) {
                   var items = args.context.aclLists[0];
-                  args.response.success({
-                    data: items,
-                    actionFilter: function(args) {
-                      var allowedActions = [];
-                      if(isAdmin()) {
-                        allowedActions.push("remove");
+                  setTimeout(function() {
+                    args.response.success({
+                      data: items,
+                      actionFilter: function(args) {
+                        var allowedActions = [];
+                        if(isAdmin()) {
+                          allowedActions.push("remove");
 
+                        }
+                        return allowedActions;
                       }
-                      return allowedActions;
-                    }
+                    });
                   });
                 }
               },


Mime
View raw message