You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ey...@apache.org on 2018/06/13 01:18:15 UTC

[45/50] hadoop git commit: YARN-8419. [UI2] User cannot submit a new service as submit button is always disabled. Contributed by Suma Shivaprasad.

YARN-8419. [UI2] User cannot submit a new service as submit button is always disabled. Contributed by Suma Shivaprasad.

(cherry picked from commit b3612dd90c419c6ac5d59ab0793b4adec40ef5c6)


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

Branch: refs/remotes/origin/branch-3.1
Commit: 6f67e4db51bb775e01b22575a77cf74ec1c05af2
Parents: ba0a8f8
Author: Sunil G <su...@apache.org>
Authored: Tue Jun 12 17:40:41 2018 +0530
Committer: Sunil G <su...@apache.org>
Committed: Tue Jun 12 17:41:09 2018 +0530

----------------------------------------------------------------------
 .../src/main/webapp/app/components/deploy-service.js               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6f67e4db/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
index ff93985..f73f33f 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/deploy-service.js
@@ -167,7 +167,7 @@ export default Ember.Component.extend({
     if (this.get('isLoading')) {
       return false;
     }
-    if (this.get('isUserNameGiven')) {
+    if (this.get('isSecurityNotEnabled') && this.get('isUserNameGiven')) {
       return false;
     }
     if (this.get('isStandardViewType')) {


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org