You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pr...@apache.org on 2012/08/21 22:08:47 UTC

git commit: CS-16018:Resources tab not displaying the Resource limits in both in default view as well as projects view

Updated Branches:
  refs/heads/master 3113f32f2 -> b7f920b4c


 CS-16018:Resources tab not displaying the Resource limits in both in default view as well as projects view


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

Branch: refs/heads/master
Commit: b7f920b4c0b94def442825c875091829163ef720
Parents: 3113f32
Author: Pranav Saxena <pr...@citrix.com>
Authored: Wed Aug 22 01:38:10 2012 +0530
Committer: Pranav Saxena <pr...@citrix.com>
Committed: Wed Aug 22 01:38:10 2012 +0530

----------------------------------------------------------------------
 ui/scripts/projects.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b7f920b4/ui/scripts/projects.js
----------------------------------------------------------------------
diff --git a/ui/scripts/projects.js b/ui/scripts/projects.js
index f7de88f..7a13723 100644
--- a/ui/scripts/projects.js
+++ b/ui/scripts/projects.js
@@ -71,7 +71,7 @@
             var resourceLimits = $.grep(
               json.listresourcelimitsresponse.resourcelimit,
               function(resourceLimit) {
-                return resourceLimit.resourcetype != 5;
+                return resourceLimit.resourcetype != 5 && resourceLimit.resourcetype != 7;
               }
             );