Fix radios behavior in automount map adder dialog

https://fedorahosted.org/freeipa/ticket/3904
This commit is contained in:
Petr Vobornik authored and Martin Kosek committed 2014-01-21 12:04:03 +01:00
1 parent d58e11ba87
commit 727764bff7
1 file changed
+4 -2
+4 -2
View File
@@ -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;