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 #38196 - Remove use of $.removeAttr from Katello #11304

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

Conversation

jeremylenz
Copy link
Member

What are the changes introduced in this pull request?

Because of this breaking change in jQuery 3.0, the 'Select None' button on the Sync Status page had stopped working. This change should make it work again.

Considerations taken when implementing this change?

The solution is to replace removeAttr() with .prop(attrName, value). I found several other instances of its use, which I also updated. There were a few where I'm not sure false is the correct value, but I don't know if that will matter..

What are the testing steps for this pull request?

Reproduce the issue:
Make sure your Foreman is up to date with latest develop and Katello is latest master
Run npm i

Fix the issue:
Check out this PR
check Sync Status page Select None button, make sure it works
Check other Angular pages and make sure I didn't break anything

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