incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject git commit: AMBARI-2697: Disable security not working in web-ui testMode. (jaimin)
Date Sat, 20 Jul 2013 01:23:37 GMT
Updated Branches:
  refs/heads/trunk dfc5509d6 -> 4f8c9cc74


AMBARI-2697: Disable security not working in web-ui testMode. (jaimin)


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

Branch: refs/heads/trunk
Commit: 4f8c9cc74401abdadcdffa5da91655458be5a5a5
Parents: dfc5509
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Fri Jul 19 18:21:14 2013 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Fri Jul 19 18:23:05 2013 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/main/admin/security/disable.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/4f8c9cc7/ambari-web/app/controllers/main/admin/security/disable.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/security/disable.js b/ambari-web/app/controllers/main/admin/security/disable.js
index 269990b..2714f93 100644
--- a/ambari-web/app/controllers/main/admin/security/disable.js
+++ b/ambari-web/app/controllers/main/admin/security/disable.js
@@ -114,7 +114,7 @@ App.MainAdminSecurityDisableController = Em.Controller.extend({
         currentStage.set('isStarted', true);
         if (App.testMode) {
           currentStage.set('isError', false);
-          currentStage.set('isCompleted', true);
+          currentStage.set('isSuccess', true);
         } else {
           this.loadClusterConfigs();
         }
@@ -175,7 +175,7 @@ App.MainAdminSecurityDisableController = Em.Controller.extend({
   addInfoToStage1: function () {
     var stage1 = this.get('stages').findProperty('stage', 'stage1');
     if (App.testMode) {
-      stage1.set('isSucces', true);
+      stage1.set('isSuccess', true);
       stage1.set('isStarted', true);
       stage1.set('isCompleted', true);
     }


Mime
View raw message