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
get dialog to close on Save Changes for groups #6792 #7392
Conversation
As an alternative fix, I tried moving the dialog down (diff below) but it didn't help. The only way I've gotten "Save Changes" to work properly is with the (admittedly controversial!) CDATA removal in e0fc1f8 (this pull request).
|
Given that the problem appears to be linked to having the script in the .html, which is included in the .xhtml and causing issues due to the > and & chars in the scripts (as far as we know), maybe pulling it out to a separate .js file and linking that would resolve this and avoid the earlier issue? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, though I think incomplete. (I also added a cleanup request that I think would make sense to consider for this PR. Lastly, do you want to add a release note? I don't it needs one as it's a simple bug fix, but that's up to you.
Ok, after addressing some concerns in 79301e6, I'm ready for more code review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
What this PR does / why we need it:
When you click "Save Changes" on the groups page, the dialog doesn't close.
Which issue(s) this PR closes:
Closes #6792
Special notes for your reviewer:
This reverts pull request #6023 (f40d653 specifically) so I'm concerned #5967 will resurface. Mostly I'm just putting this pull request out there for discussion, so see if others have ideas about how to fix this.
Suggestions on how to test this:
Edit a group and click Save Changes. The dialog should close.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No, apart from a dialog closing properly. It looks like this:
Is there a release notes update needed for this change?:
Yes but I haven't added one yet because I'm not sure this is the fix we want.
Additional documentation:
None.