Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #38104 - Hide Media when Synced Content is selected #11263

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MariaAga
Copy link
Contributor

What are the changes introduced in this pull request?

Instead of loading the script inside content_for(:javascripts) , load it in the file, but add the checks to make sure it runs after KT.hosts exists.

Considerations taken when implementing this change?

Didn't find another <script> that could be effected by it.
The issue is when os is selected (os_selected request) it returns part of the page, and the selectors and eventlisteners need to bind again. after getting only part of the page content_for is not loaded again

What are the testing steps for this pull request?

to reproduce have a kickstarter repo and create a hostgroup, select the matching Content Source, Lifecycle Environment, Content View, go to the os tab, select Architecture and the OS that was created from the kickstart repo, when selecting the Synced Content radio, media should disappear but it does not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant