Return-Path: X-Original-To: apmail-ambari-commits-archive@www.apache.org Delivered-To: apmail-ambari-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9538C18CDB for ; Wed, 18 Nov 2015 16:50:58 +0000 (UTC) Received: (qmail 50762 invoked by uid 500); 18 Nov 2015 16:50:58 -0000 Delivered-To: apmail-ambari-commits-archive@ambari.apache.org Received: (qmail 50634 invoked by uid 500); 18 Nov 2015 16:50:58 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 50267 invoked by uid 99); 18 Nov 2015 16:50:58 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2015 16:50:58 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 09983E03C8; Wed, 18 Nov 2015 16:50:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ncole@apache.org To: commits@ambari.apache.org Date: Wed, 18 Nov 2015 16:51:30 -0000 Message-Id: <65e39a0887c349c1a410af6f5efd1153@git.apache.org> In-Reply-To: <84d194f15d934b49a10e6f37996c1d51@git.apache.org> References: <84d194f15d934b49a10e6f37996c1d51@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [34/50] [abbrv] ambari git commit: AMBARI-13937. Oozie and hive db hostname should be non-editable for new databases (onechiporenko) AMBARI-13937. Oozie and hive db hostname should be non-editable for new databases (onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/e383cf9f Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e383cf9f Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e383cf9f Branch: refs/heads/branch-dev-patch-upgrade Commit: e383cf9f9a380ddf6e78ffeadaf9e25dae3b3793 Parents: 137e665 Author: Oleg Nechiporenko Authored: Wed Nov 18 11:46:53 2015 +0200 Committer: Oleg Nechiporenko Committed: Wed Nov 18 11:46:53 2015 +0200 ---------------------------------------------------------------------- ambari-web/app/views/common/controls_view.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/e383cf9f/ambari-web/app/views/common/controls_view.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/common/controls_view.js b/ambari-web/app/views/common/controls_view.js index 6052adf..09ad31f 100644 --- a/ambari-web/app/views/common/controls_view.js +++ b/ambari-web/app/views/common/controls_view.js @@ -431,6 +431,7 @@ App.ServiceConfigRadioButtons = Ember.View.extend(App.ServiceConfigCalculateId, 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 + this.get('hostNameProperty').set('isEditable', !this.get('isNewDb')); if (['addServiceController', 'installerController'].contains(this.get('controller.wizardController.name')) && !App.StackService.find(this.get('serviceConfig.serviceName')).get('isInstalled')) { if (this.get('isNewDb') || this.get('dontUseHandleDbConnection').contains(this.get('serviceConfig.name'))) { this.onOptionsChange();