summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-10-22 13:12:46 +0200
committerMartin Kosek <mkosek@redhat.com>2014-01-21 12:04:03 +0100
commit727764bff7a43ec906dee42b6cd2f6702b06cd98 (patch)
tree5ea3d6540ba731d8e0b2baaa85b0e181adf963ee
parentd58e11ba87914d3f8fa513d1195f6b207dfeb5e5 (diff)
downloadfreeipa-727764bff7a43ec906dee42b6cd2f6702b06cd98.tar.gz
freeipa-727764bff7a43ec906dee42b6cd2f6702b06cd98.tar.xz
freeipa-727764bff7a43ec906dee42b6cd2f6702b06cd98.zip
Fix radios behavior in automount map adder dialog
https://fedorahosted.org/freeipa/ticket/3904
-rw-r--r--install/ui/src/freeipa/automount.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/automount.js b/install/ui/src/freeipa/automount.js
index fca476fd0..b010a52d4 100644
--- a/install/ui/src/freeipa/automount.js
+++ b/install/ui/src/freeipa/automount.js
@@ -313,7 +313,8 @@ IPA.automountmap_adder_dialog = function(spec) {
indirect_section.set_visible(true);
});
- direct_input.click();
+ direct_input.prop('checked', true);
+ direct_input.trigger('change');
};
that.reset = function() {
@@ -322,7 +323,8 @@ IPA.automountmap_adder_dialog = function(spec) {
var method_widget = that.widgets.get_widget('general.method');
var direct_input = $('input[value="add"]', method_widget.container);
- direct_input.click();
+ direct_input.prop('checked', true);
+ direct_input.trigger('change');
};
return that;