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:44:12 +0200
commit2e3f5f25c429e7fef95505c0a77167951daea95d (patch)
treea3039e161859db92a38346ecea4aa8b3c6200d95
parentdb24a831d415856e678c9153452cddaca3b311ca (diff)
downloadfreeipa-2e3f5f25c429e7fef95505c0a77167951daea95d.tar.gz
freeipa-2e3f5f25c429e7fef95505c0a77167951daea95d.tar.xz
freeipa-2e3f5f25c429e7fef95505c0a77167951daea95d.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 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);
});