From 961aeb80e9d74df6f6b036a6152fdc3f9a6f5b39 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 6 Jun 2012 17:52:15 +0200 Subject: Action panel for host enrollment Widgets in host enrollment sections were modified. They now serve only for displaying of has_key and has_password status. Functionality for setting otp and unprovisioning was moved to separate dialogs. Execution points for opening of these dialogs are items in new action panel in enrollment section. https://fedorahosted.org/freeipa/ticket/2251 --- install/ui/widget.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'install/ui/widget.js') diff --git a/install/ui/widget.js b/install/ui/widget.js index d3dbd4c3..ccda2aef 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -3238,6 +3238,8 @@ IPA.action_panel = function(spec) { var classes, state, li, a; + if (!action.visible) return; + classes = ['action']; state = action.enabled ? 'enabled' : 'disabled'; classes.push(state); -- cgit