Fix radios behavior in automount map adder dialog
https://fedorahosted.org/freeipa/ticket/3904
This commit is contained in:
1 parent
d58e11ba87
commit
727764bff7
1 file changed
+4
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user