Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 6dd8940bc -> 5aa60e7b0


AMBARI-13031 Config tab for Ranger updates incorrectly. (ababiichuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5aa60e7b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5aa60e7b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5aa60e7b

Branch: refs/heads/branch-2.1
Commit: 5aa60e7b090b8f902c900803e0f79bdb1aa9ed17
Parents: 6dd8940
Author: aBabiichuk <[email protected]>
Authored: Tue Sep 8 12:55:10 2015 +0300
Committer: aBabiichuk <[email protected]>
Committed: Tue Sep 8 12:55:10 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/views/common/controls_view.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5aa60e7b/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 e3e0a8c..65bbd95 100644
--- a/ambari-web/app/views/common/controls_view.js
+++ b/ambari-web/app/views/common/controls_view.js
@@ -425,7 +425,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
-    //if (['addServiceController', 
'installerController'].contains(this.get('controller.wizardController.name'))) {
+    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();
       } else {
@@ -434,7 +434,7 @@ App.ServiceConfigRadioButtons = 
Ember.View.extend(App.ServiceConfigCalculateId,
         }
         this.handleDBConnectionProperty();
       }
-    //}
+    }
   },
 
   /**

Reply via email to