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 <[email protected]> Authored: Fri Jul 19 18:21:14 2013 -0700 Committer: Jaimin Jetly <[email protected]> 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); }
