diff options
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r-- | install/ui/widget.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js index 807191e53..2617487f7 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -2064,7 +2064,7 @@ IPA.combobox_widget = function(spec) { type: 'text', name: that.name, title: that.tooltip, - readonly: !that.editable, + readonly: !that.editable || that.read_only, keyup: function() { that.input_field_changed.notify([], that); }, @@ -2147,7 +2147,8 @@ IPA.combobox_widget = function(spec) { }; that.open = function() { - that.list_container.css('visibility', 'visible'); + if (!that.read_only) + that.list_container.css('visibility', 'visible'); }; that.close = function() { |