You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by on...@apache.org on 2013/10/16 19:01:04 UTC
[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 <cv...@yahoo.com>
Authored: Wed Oct 16 19:55:58 2013 +0300
Committer: Oleg Nechiporenko <cv...@yahoo.com>
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();
}
},