Repository: ambari Updated Branches: refs/heads/branch-2.5 22b027efb -> 2e5d2a9d3
AMBARI-19197. Kerberos advanced tab. Page wasn't refreshed after save changes. Save button is disabled. (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2e5d2a9d Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2e5d2a9d Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2e5d2a9d Branch: refs/heads/branch-2.5 Commit: 2e5d2a9d3ce1168741bc846c1d20c58484d2b9dd Parents: 22b027e Author: Alex Antonenko <[email protected]> Authored: Wed Dec 14 15:54:42 2016 +0200 Committer: Alex Antonenko <[email protected]> Committed: Wed Dec 14 15:54:42 2016 +0200 ---------------------------------------------------------------------- ambari-web/app/templates/main/admin/kerberos.hbs | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/2e5d2a9d/ambari-web/app/templates/main/admin/kerberos.hbs ---------------------------------------------------------------------- diff --git a/ambari-web/app/templates/main/admin/kerberos.hbs b/ambari-web/app/templates/main/admin/kerberos.hbs index 1e3be1a..4f35fd5 100644 --- a/ambari-web/app/templates/main/admin/kerberos.hbs +++ b/ambari-web/app/templates/main/admin/kerberos.hbs @@ -41,15 +41,13 @@ <div id="serviceConfig"> {{view App.ServicesConfigView}} </div> - {{#if isEditMode}} - <div class="btn-area pull-right"> - <button id="cancel-kerberos-reconfigure-identities" {{action makeConfigsUneditable target="controller"}} - class="btn">{{t common.cancel}}</button> - <button id="save-kerberos-reconfigure-identities" - class="btn btn-success" {{bindAttr disabled="isSaveButtonDisabled"}} - {{action submit target="controller"}}>{{t common.save}}</button> - </div> - {{/if}} + <div {{bindAttr class=":btn-area :pull-right isEditMode::hidden"}}> + <button id="cancel-kerberos-reconfigure-identities" {{action makeConfigsUneditable target="controller"}} + class="btn">{{t common.cancel}}</button> + <button id="save-kerberos-reconfigure-identities" + class="btn btn-success" {{bindAttr disabled="isSaveButtonDisabled"}} + {{action submit target="controller"}}>{{t common.save}}</button> + </div> {{else}} <div> <p class="muted background-text">{{t admin.security.disabled}}
