Updated Branches:
  refs/heads/branch-1.2.5 65b48aa35 -> 4ba658532

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/4ba65853
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/4ba65853
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/4ba65853

Branch: refs/heads/branch-1.2.5
Commit: 4ba65853231b250767274ee7bc8f5a9de1ee4d9a
Parents: 65b48aa
Author: Jaimin Jetly <[email protected]>
Authored: Fri Jul 19 18:21:14 2013 -0700
Committer: Jaimin Jetly <[email protected]>
Committed: Fri Jul 19 18:21:14 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/4ba65853/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);
     }

Reply via email to