diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-01-18 12:12:47 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-01-18 12:35:14 -0500 |
commit | 5c105a5ff4dc027ba38dde39c2329d031deb1dc3 (patch) | |
tree | 9cc39e57b3e2dbc99e5bc4d8973562579086059b /install/static/host.js | |
parent | 17122d270546ff8864ae9c9c834abee03a68e204 (diff) | |
download | freeipa.git-5c105a5ff4dc027ba38dde39c2329d031deb1dc3.tar.gz freeipa.git-5c105a5ff4dc027ba38dde39c2329d031deb1dc3.tar.xz freeipa.git-5c105a5ff4dc027ba38dde39c2329d031deb1dc3.zip |
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.
Diffstat (limited to 'install/static/host.js')
-rw-r--r-- | install/static/host.js | 14 |
1 files changed, 11 insertions, 3 deletions
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(); |