Browse Source

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

Jaimin Jetly 12 years ago
parent
commit
4f8c9cc744
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ambari-web/app/controllers/main/admin/security/disable.js

+ 2 - 2
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);
     }