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 D707210AD9 for ; Wed, 16 Oct 2013 17:01:09 +0000 (UTC) Received: (qmail 92127 invoked by uid 500); 16 Oct 2013 17:01:08 -0000 Delivered-To: apmail-incubator-ambari-commits-archive@incubator.apache.org Received: (qmail 92054 invoked by uid 500); 16 Oct 2013 17:01:05 -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 92006 invoked by uid 99); 16 Oct 2013 17:01:04 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Oct 2013 17:01:04 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id DFC759161C1; Wed, 16 Oct 2013 17:01:03 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: onechiporenko@apache.org To: ambari-commits@incubator.apache.org Date: Wed, 16 Oct 2013 17:01:04 -0000 Message-Id: <56b2f26d9e764b8480a14d1bc09ab2a2@git.apache.org> In-Reply-To: <5ea6f42a642f4de4832446b6a89c9b79@git.apache.org> References: <5ea6f42a642f4de4832446b6a89c9b79@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] git commit: AMBARI-3528. DB url isn't calculated automatically. (onechiporenko) AMBARI-3528. DB url isn't calculated automatically. (onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/8f2b1fe4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/8f2b1fe4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/8f2b1fe4 Branch: refs/heads/trunk Commit: 8f2b1fe4c6fc673bbaea604d3c1f072276842598 Parents: ecf65d2 Author: Oleg Nechiporenko Authored: Wed Oct 16 19:55:58 2013 +0300 Committer: Oleg Nechiporenko Committed: Wed Oct 16 20:00:56 2013 +0300 ---------------------------------------------------------------------- ambari-web/app/views/wizard/controls_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/8f2b1fe4/ambari-web/app/views/wizard/controls_view.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/wizard/controls_view.js b/ambari-web/app/views/wizard/controls_view.js index 1f13bca..c9f542d 100644 --- a/ambari-web/app/views/wizard/controls_view.js +++ b/ambari-web/app/views/wizard/controls_view.js @@ -201,7 +201,7 @@ App.ServiceConfigRadioButtons = Ember.View.extend({ didInsertElement: function () { // on page render, automatically populate JDBC URLs only for default database settings // so as to not lose the user's customizations on these fields - if (App.clusterStatus.clusterState == 'CLUSTER_NOT_CREATED_1' && ['New MySQL Database', 'New Derby Database'].contains(this.get('serviceConfig.value'))) { + if (['addServiceController', 'installerController'].contains(App.clusterStatus.wizardControllerName) && ['New MySQL Database', 'New Derby Database'].contains(this.get('serviceConfig.value'))) { this.onOptionsChange(); } },