Skip to content

Commit

Permalink
Fixes #37709 - make sure content_source_id is not changed during host…
Browse files Browse the repository at this point in the history
… edit
  • Loading branch information
sbernhard authored and qcjames53 committed Aug 7, 2024
1 parent 7f9d27a commit c98aede
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<%= select_tag cs_select_id, content_source_options(@hostgroup, :include_blank => blank_or_inherit_with_id(f, :content_source)), :data => {"spinner_path" => spinner_path},
:class => 'form-control', :name => cs_select_name %>
<% else %>
<%= hidden_field_tag 'host[content_facet_attributes][content_source_id]', fetch_content_source(@host).try(:id) %>
<%= select_tag cs_select_id, content_source_options(@host, :selected_host_group => @hostgroup || @host.hostgroup, :include_blank => blank_or_inherit_with_id(f, :content_source)), :data => {"spinner_path" => spinner_path}, :class => 'form-control', :name => cs_select_name, :disabled => cv_lce_disabled? %>
<% end %>
<% end %>
Expand Down

0 comments on commit c98aede

Please sign in to comment.