Repository: ambari
Updated Branches:
  refs/heads/trunk 1757b8591 -> 9acb26f27


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/9acb26f2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9acb26f2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9acb26f2

Branch: refs/heads/trunk
Commit: 9acb26f275ef0a0b5dc2f221d877cd91a4368201
Parents: 1757b85
Author: aBabiichuk <[email protected]>
Authored: Tue Sep 8 12:55:10 2015 +0300
Committer: aBabiichuk <[email protected]>
Committed: Tue Sep 8 12:57:32 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/9acb26f2/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 67006fa..c31a05f 100644
--- a/ambari-web/app/views/common/controls_view.js
+++ b/ambari-web/app/views/common/controls_view.js
@@ -426,7 +426,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 {
@@ -435,7 +435,7 @@ App.ServiceConfigRadioButtons = 
Ember.View.extend(App.ServiceConfigCalculateId,
         }
         this.handleDBConnectionProperty();
       }
-    //}
+    }
   },
 
   /**

Reply via email to