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-12748. Cannot grant cluster read-only permission to users in Admin View (IE 10) (alexantonenko)
Date Wed, 12 Aug 2015 17:55:31 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 7d7f2c8b4 -> 11ea55146


AMBARI-12748. Cannot grant cluster read-only permission to users in Admin View (IE 10) (alexantonenko)


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

Branch: refs/heads/branch-2.1
Commit: 11ea5514648c417501f6f656b7d9b988bdfdb107
Parents: 7d7f2c8
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Wed Aug 12 20:40:25 2015 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Wed Aug 12 20:55:27 2015 +0300

----------------------------------------------------------------------
 .../resources/ui/admin-web/app/scripts/directives/editableList.js  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/11ea5514/ambari-admin/src/main/resources/ui/admin-web/app/scripts/directives/editableList.js
----------------------------------------------------------------------
diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/directives/editableList.js
b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/directives/editableList.js
index e223426..18fb7a8 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/directives/editableList.js
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/directives/editableList.js
@@ -138,7 +138,7 @@ angular.module('ambariAdminConsole')
           var newValue = newValue.split(',').filter(function(i){ 
             i = i.replace('&nbsp;', ''); // Sanitize from spaces
             return !!i.trim();
-          });
+          }).map(function(i) { return i.trim(); });
           if( newValue.length > 1){
             // If someone paste coma separated string, then just add all items to list
             angular.forEach(newValue, function(item) {


Mime
View raw message