summaryrefslogtreecommitdiffstats
path: root/install/ui/widget.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-06-06 17:52:15 +0200
committerPetr Vobornik <pvoborni@redhat.com>2012-06-13 16:44:30 +0200
commit961aeb80e9d74df6f6b036a6152fdc3f9a6f5b39 (patch)
treeffec7d6db12578e389d9c8460b3c9a15652b6570 /install/ui/widget.js
parenta5fcfc2c7ea7f1014b6dc79c7784c2d0040386dc (diff)
downloadfreeipa-961aeb80e9d74df6f6b036a6152fdc3f9a6f5b39.tar.gz
freeipa-961aeb80e9d74df6f6b036a6152fdc3f9a6f5b39.tar.xz
freeipa-961aeb80e9d74df6f6b036a6152fdc3f9a6f5b39.zip
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
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r--install/ui/widget.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index d3dbd4c37..ccda2aef3 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);