ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject ambari git commit: AMBARI-20810. Roles page in Ambari UI shows extra rows in IE browser (alexantonenko)
Date Tue, 25 Apr 2017 17:55:11 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 1f68c6e84 -> 37ba33ffd


AMBARI-20810. Roles page in Ambari UI shows extra rows in IE browser (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 37ba33ffd62b60959d0d880d599d6af33e10dde6
Parents: 1f68c6e
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Tue Apr 25 20:54:58 2017 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Tue Apr 25 20:55:07 2017 +0300

----------------------------------------------------------------------
 .../app/scripts/controllers/clusters/ClustersManageAccessCtrl.js   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/37ba33ff/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/clusters/ClustersManageAccessCtrl.js
----------------------------------------------------------------------
diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/clusters/ClustersManageAccessCtrl.js
b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/clusters/ClustersManageAccessCtrl.js
index e1b74aa..3a9ad67 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/clusters/ClustersManageAccessCtrl.js
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/controllers/clusters/ClustersManageAccessCtrl.js
@@ -37,7 +37,7 @@ angular.module('ambariAdminConsole')
       });
       var orderedRoles = Cluster.orderedRoles;
       var pms = [];
-      for (var key in orderedRoles) {
+      for (var key=0;key<orderedRoles.length;key++) {
         pms.push($scope.permissions[orderedRoles[key]]);
       }
       $scope.permissions = pms;


Mime
View raw message