From 2e3f5f25c429e7fef95505c0a77167951daea95d Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 4 Apr 2012 11:04:33 +0200 Subject: Removed mutex option from checkboxes Mutually exclusive checkboxes were unusual. They are not in use anymore. The functionality is removed. https://fedorahosted.org/freeipa/ticket/2599 --- install/ui/widget.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/install/ui/widget.js b/install/ui/widget.js index 4ddff81f9..ff7759747 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -660,7 +660,6 @@ IPA.checkboxes_widget = function (spec) { that.options = spec.options || []; that.direction = spec.direction || 'vertical'; - that.mutex = spec.mutex; that.create = function(container) { @@ -695,15 +694,6 @@ IPA.checkboxes_widget = function (spec) { var input = $('input[name="'+that.name+'"]', that.container); input.change(function() { - - var checkbox = $(this); - var checked = checkbox.is(':checked'); - - if (that.mutex && checked) { - that.clear(); - checkbox.attr('checked', true); - } - that.value_changed.notify([that.save()], that); }); -- cgit