summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/host.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-10-17 15:36:09 +0200
committerMartin Kosek <mkosek@redhat.com>2014-01-21 12:04:02 +0100
commit4ae69b99b22f50b9bc31d60126bb0dc805c7b11b (patch)
tree57f3dc34c971ef9fa3a8386d4154ba61c277373e /install/ui/src/freeipa/host.js
parent9a7e65100c4d193248ef19d5a79300e14c99fabc (diff)
downloadfreeipa-4ae69b99b22f50b9bc31d60126bb0dc805c7b11b.tar.gz
freeipa-4ae69b99b22f50b9bc31d60126bb0dc805c7b11b.tar.xz
freeipa-4ae69b99b22f50b9bc31d60126bb0dc805c7b11b.zip
Always create radio and checkbox with label
https://fedorahosted.org/freeipa/ticket/3904
Diffstat (limited to 'install/ui/src/freeipa/host.js')
-rw-r--r--install/ui/src/freeipa/host.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/install/ui/src/freeipa/host.js b/install/ui/src/freeipa/host.js
index 663a39a2e..ef9687faf 100644
--- a/install/ui/src/freeipa/host.js
+++ b/install/ui/src/freeipa/host.js
@@ -486,15 +486,13 @@ IPA.host_deleter_dialog = function(spec) {
var metadata = IPA.get_command_option('host_del', 'updatedns');
- that.updatedns = $('<input/>', {
+ var updatedns = IPA.standalone_option({
type: 'checkbox',
name: 'updatedns',
title: metadata.doc
- }).appendTo(that.container);
-
- that.container.append(' ');
+ }, that.container, metadata.doc);
- that.container.append(metadata.doc);
+ that.updatedns = updatedns[0];
};
that.create_command = function() {