Repository: ambari
Updated Branches:
  refs/heads/trunk 10ebfde7b -> eace569bd


AMBARI-18029 Duplicate panels are being shown in Kerberos settings page (Andrii 
Tkach via zhewang)


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

Branch: refs/heads/trunk
Commit: eace569bd44f682e43446813f1835f2bcb7fd1f4
Parents: 10ebfde
Author: Zhe (Joe) Wang <[email protected]>
Authored: Thu Aug 4 15:34:51 2016 -0700
Committer: Zhe (Joe) Wang <[email protected]>
Committed: Thu Aug 4 15:34:51 2016 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/main/admin/kerberos.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/eace569b/ambari-web/app/controllers/main/admin/kerberos.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/admin/kerberos.js 
b/ambari-web/app/controllers/main/admin/kerberos.js
index d1d5012..762f4d0 100644
--- a/ambari-web/app/controllers/main/admin/kerberos.js
+++ b/ambari-web/app/controllers/main/admin/kerberos.js
@@ -626,9 +626,12 @@ App.MainAdminKerberosController = 
App.KerberosWizardStep4Controller.extend({
   showManageKDCCredentialsPopup: function() {
     return App.showManageCredentialsPopup();
   },
-  
+
   loadStep: function() {
     var self = this;
+    if (this.get('isRecommendedLoaded') === false) {
+      return;
+    }
     this.clearStep();
     this.getDescriptor().then(function (properties) {
       
self.setStepConfigs(self.createServicesStackDescriptorConfigs(properties));

Reply via email to