From 5c105a5ff4dc027ba38dde39c2329d031deb1dc3 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 18 Jan 2011 12:12:47 -0500 Subject: Force flag for Hosts and Services. The add dialogs for Hosts and Services have been updated to include a checkbox to force adding hosts/services that are not in DNS. The widgets has been updated to support tooltips. --- install/static/host.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'install/static/host.js') diff --git a/install/static/host.js b/install/static/host.js index dd435c56..c3851ff7 100644 --- a/install/static/host.js +++ b/install/static/host.js @@ -88,9 +88,17 @@ IPA.host_add_dialog = function (spec) { that.init = function() { that.add_field(IPA.text_widget({ - 'name': 'fqdn', - 'size': 40, - 'undo': false + name: 'fqdn', + size: 40, + undo: false + })); + + // TODO: Replace with i18n label + that.add_field(IPA.checkbox_widget({ + name: 'force', + label: 'Force', + tooltip: 'force host name even if not in DNS', + undo: false })); that.add_dialog_init(); -- cgit