Repository: ambari
Updated Branches:
  refs/heads/trunk 00eccc6e5 -> 8ecc7b405


AMBARI-9709. Configs: Hive Metastore/Oozie Server -> Database Host property has 
remove button (alexantonenko)


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

Branch: refs/heads/trunk
Commit: 8ecc7b4050e58f7efe13c82b5bc468b22f6dd6d3
Parents: 00eccc6
Author: Alex Antonenko <hiv...@gmail.com>
Authored: Thu Feb 19 18:38:28 2015 +0200
Committer: Alex Antonenko <hiv...@gmail.com>
Committed: Thu Feb 19 19:01:37 2015 +0200

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/8ecc7b40/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 416ed30..0fe2029 100644
--- a/ambari-web/app/views/common/controls_view.js
+++ b/ambari-web/app/views/common/controls_view.js
@@ -505,6 +505,7 @@ App.ServiceConfigRadioButtons = 
Ember.View.extend(App.ServiceConfigCalculateId,
           break;
       }
       if (hostname) {
+        Em.set(hostname, 'isUserProperty', false);
         returnValue = hostname;
       } else {
         returnValue = this.get('categoryConfigsAll').findProperty('name', 
'hive_hostname');
@@ -531,6 +532,7 @@ App.ServiceConfigRadioButtons = 
Ember.View.extend(App.ServiceConfigCalculateId,
           break;
       }
       if (hostname) {
+        Em.set(hostname, 'isUserProperty', false);
         returnValue = hostname;
       } else {
         returnValue = this.get('categoryConfigsAll').findProperty('name', 
'oozie_hostname');

Reply via email to