Return-Path: X-Original-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D30D61099D for ; Sat, 20 Jul 2013 01:23:37 +0000 (UTC) Received: (qmail 50574 invoked by uid 500); 20 Jul 2013 01:23:37 -0000 Delivered-To: apmail-incubator-ambari-commits-archive@incubator.apache.org Received: (qmail 50553 invoked by uid 500); 20 Jul 2013 01:23:37 -0000 Mailing-List: contact ambari-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-commits@incubator.apache.org Received: (qmail 50546 invoked by uid 99); 20 Jul 2013 01:23:37 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Jul 2013 01:23:37 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 7CAFF8AF717; Sat, 20 Jul 2013 01:23:37 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jaimin@apache.org To: ambari-commits@incubator.apache.org Message-Id: <1db47c9b8e7f440e971ee81985f12d41@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: AMBARI-2697: Disable security not working in web-ui testMode. (jaimin) Date: Sat, 20 Jul 2013 01:23:37 +0000 (UTC) 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 Authored: Fri Jul 19 18:21:14 2013 -0700 Committer: Jaimin Jetly 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); }