Repository: ambari Updated Branches: refs/heads/trunk c41f360a9 -> c2f2320ca
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/c2f2320c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c2f2320c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c2f2320c Branch: refs/heads/trunk Commit: c2f2320ca3361d72b8bef8f622e87e7354a9db28 Parents: c41f360 Author: Alex Antonenko <[email protected]> Authored: Tue Aug 18 10:51:28 2015 +0300 Committer: Alex Antonenko <[email protected]> Committed: Tue Aug 18 11:27:39 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/c2f2320c/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 6782e2c..85f9afd 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 */
