Skip to content

Commit

Permalink
Fixes #38104 - Hide Media when Synced Content is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga authored and chris1984 committed Jan 9, 2025
1 parent 87f14da commit 469efd5
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@
:class => 'form-control', :name => ks_repo_select_name, :disabled => kickstart_options.empty? %>
<% end %>

<% content_for(:javascripts) do -%>
<script>
<script>
if(window.allJsLoaded){
KT.hosts.set_media_selection_bindings();
KT.hosts.update_media_enablement();
</script>
<% end -%>
}
else {
$(document).on('ContentLoad', function(){
KT.hosts.set_media_selection_bindings();
KT.hosts.update_media_enablement();
});
}
</script>

0 comments on commit 469efd5

Please sign in to comment.