Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 6c46c0f00 -> 08a4b97be


AMBARI-12798. "Edit" button disappears after revisiting Kerberos tab 
(alexantonenko)


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

Branch: refs/heads/branch-2.1
Commit: 08a4b97beefee1449713d75aeb33331338fb1596
Parents: 6c46c0f
Author: Alex Antonenko <[email protected]>
Authored: Tue Aug 18 10:51:28 2015 +0300
Committer: Alex Antonenko <[email protected]>
Committed: Tue Aug 18 11:29:32 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/main/admin/kerberos.js | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/08a4b97b/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 cc3ae4b..0bd9f90 100644
--- a/ambari-web/app/controllers/main/admin/kerberos.js
+++ b/ambari-web/app/controllers/main/admin/kerberos.js
@@ -191,12 +191,6 @@ App.MainAdminKerberosController = 
App.KerberosWizardStep4Controller.extend({
     }
   }.observes('controllers.backgroundOperationsController.allOperationsCount'),
 
-
-  getUpdatedSecurityStatus: function () {
-    this.getSecurityStatus();
-    return this.get('securityEnabled');
-  },
-
   /**
    * performs cluster check before kerbefos security
    * wizard starts if <code>preKerberizeCheck<code> supports is true
@@ -324,6 +318,14 @@ App.MainAdminKerberosController = 
App.KerberosWizardStep4Controller.extend({
 
   /**
    * Override <code>App.KerberosWizardStep4Controller</code>
+   */
+  clearStep: function() {
+    this.set('isEditMode', false);
+    this._super();
+  },
+
+  /**
+   * Override <code>App.KerberosWizardStep4Controller</code>
    *
    * @param {App.ServiceConfigProperty[]} properties
    */

Reply via email to