summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-04-04 11:04:33 +0200
committerPetr Vobornik <pvoborni@redhat.com>2012-04-10 15:47:01 +0200
commit3f1d0e6f1459ec86a4fdd97a0df1f2be982ac71e (patch)
tree7d748a301f04527fbd386a58ec5aafc08295feaf
parente4ab2ef2251404f668c8de14e142fe39b96ba1ae (diff)
downloadfreeipa.git-3f1d0e6f1459ec86a4fdd97a0df1f2be982ac71e.tar.gz
freeipa.git-3f1d0e6f1459ec86a4fdd97a0df1f2be982ac71e.tar.xz
freeipa.git-3f1d0e6f1459ec86a4fdd97a0df1f2be982ac71e.zip
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
-rw-r--r--install/ui/widget.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index 4ddff81f..ff775974 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);
});