From 352ef8428c8e2faef8b93b8ecbee9db7e40e1ab6 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Jun 12 2014 07:50:10 +0000 Subject: webui: fix SSH Key widget update Update widget status text on update. Reviewed-By: Nathaniel McCallum --- diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js index 0a9c491..cfa9417 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 = $('', { 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(); };