From 4ae69b99b22f50b9bc31d60126bb0dc805c7b11b Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 17 Oct 2013 15:36:09 +0200 Subject: Always create radio and checkbox with label https://fedorahosted.org/freeipa/ticket/3904 --- install/ui/src/freeipa/host.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'install/ui/src/freeipa/host.js') 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 = $('', { + 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() { -- cgit