diff --git a/app/views/overrides/activation_keys/_host_synced_content_select.html.erb b/app/views/overrides/activation_keys/_host_synced_content_select.html.erb index a94e6833f67..068050cd177 100644 --- a/app/views/overrides/activation_keys/_host_synced_content_select.html.erb +++ b/app/views/overrides/activation_keys/_host_synced_content_select.html.erb @@ -23,9 +23,15 @@ :class => 'form-control', :name => ks_repo_select_name, :disabled => kickstart_options.empty? %> <% end %> -<% content_for(:javascripts) do -%> - -<% end -%> \ No newline at end of file + } + else { + $(document).on('ContentLoad', function(){ + KT.hosts.set_media_selection_bindings(); + KT.hosts.update_media_enablement(); + }); + } +