AMBARI-15730. Kerberos "Test Connection" button should not be shown on the host configs page (onechiporenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7b672323 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7b672323 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7b672323 Branch: refs/heads/trunk Commit: 7b67232361e394a9ae72d2a26dab6201b9fab88b Parents: 1cc4a20 Author: Oleg Nechiporenko <[email protected]> Authored: Wed Apr 6 14:21:18 2016 +0300 Committer: Oleg Nechiporenko <[email protected]> Committed: Thu Apr 7 13:51:33 2016 +0300 ---------------------------------------------------------------------- ambari-web/app/views/common/controls_view.js | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/7b672323/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 3ca0eda..2514d9d 100644 --- a/ambari-web/app/views/common/controls_view.js +++ b/ambari-web/app/views/common/controls_view.js @@ -848,6 +848,9 @@ App.ServiceConfigMasterHostView = Ember.View.extend(App.ServiceConfigHostPopover App.checkConnectionView = App.ServiceConfigTextField.extend({ didInsertElement: function() { this._super(); + if (this.get('controller.isHostsConfigsPage')) { + return; + } var kdc = this.get('categoryConfigsAll').findProperty('name', 'kdc_type'); var propertyAppendTo = this.get('categoryConfigsAll').findProperty('name', 'domains'); if (propertyAppendTo) {
