summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/ui/src/freeipa/widget.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js
index b3ea3a838..b642cee02 100644
--- a/install/ui/src/freeipa/widget.js
+++ b/install/ui/src/freeipa/widget.js
@@ -1199,10 +1199,7 @@ IPA.option_widget_base = function(spec, that) {
that.get_input_name = function() {
if (!that._input_name) {
- var name = that.name;
- if (that.input_type === 'radio') {
- name = IPA.html_util.get_next_id(name);
- }
+ var name = IPA.html_util.get_next_id(that.name);
that._input_name = name;
that._selector = 'input[name="'+name+'"]';
}