Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 2d691002a -> 63fef1ddc


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

Branch: refs/heads/branch-2.4
Commit: 63fef1ddcb10fa41ae4b1e1422c1d6ee7d35783c
Parents: 2d69100
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:36:18 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/63fef1dd/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