mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
webui: fix SSH Key widget update
Update widget status text on update. Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
This commit is contained in:
parent
d2d0da0152
commit
352ef8428c
@ -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();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user