You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2016/12/14 13:47:11 UTC
ambari git commit: AMBARI-19197. Kerberos advanced tab. Page wasn't
refreshed after save changes. Save button is disabled. (alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/trunk b50546e0c -> b0e4c9389
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/b0e4c938
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b0e4c938
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b0e4c938
Branch: refs/heads/trunk
Commit: b0e4c938935b3eaee076b419d081439dec6c7812
Parents: b50546e
Author: Alex Antonenko <hi...@gmail.com>
Authored: Wed Dec 14 15:47:04 2016 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Dec 14 15:47:04 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/b0e4c938/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 0e6facf..e7bb618 100644
--- a/ambari-web/app/templates/main/admin/kerberos.hbs
+++ b/ambari-web/app/templates/main/admin/kerberos.hbs
@@ -40,15 +40,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 btn-default">{{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 btn-default">{{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}}