diff options
Diffstat (limited to 'install/ui/src/freeipa/host.js')
-rw-r--r-- | install/ui/src/freeipa/host.js | 8 |
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() { |