diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-05-28 16:08:23 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-06-12 09:50:10 +0200 |
commit | 352ef8428c8e2faef8b93b8ecbee9db7e40e1ab6 (patch) | |
tree | 33c1585c1f8c5fa27565dd35b1cda96fa763bfb7 /install | |
parent | d2d0da01526af41739e0eeef4273fcb71e40abc9 (diff) | |
download | freeipa-352ef8428c8e2faef8b93b8ecbee9db7e40e1ab6.tar.gz freeipa-352ef8428c8e2faef8b93b8ecbee9db7e40e1ab6.tar.xz freeipa-352ef8428c8e2faef8b93b8ecbee9db7e40e1ab6.zip |
webui: fix SSH Key widget update
Update widget status text on update.
Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
Diffstat (limited to 'install')
-rw-r--r-- | install/ui/src/freeipa/widget.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js index 0a9c491f3..cfa9417c5 100644 --- a/install/ui/src/freeipa/widget.js +++ b/install/ui/src/freeipa/widget.js @@ -5082,7 +5082,7 @@ IPA.sshkey_widget = function(spec) { that.link = $('<a/>', { type: that.type, - 'class': 'sshkey-set link-btn', + 'class': 'sshkey-set btn btn-default', name: that.name, href: '#show-certificate', title: that.tooltip, @@ -5115,6 +5115,7 @@ IPA.sshkey_widget = function(spec) { that.originally_set = true; that.original_key = that.key.key; } + that.update_link(); that.on_value_changed(); }; |