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

Fixed tags block not being hidden on submission error causing it to hide on cancel #384

Merged

Conversation

koloml
Copy link
Contributor

@koloml koloml commented Dec 14, 2024

Before you begin

  • I understand my contributions may be rejected for any reason
  • I understand my contributions are for the benefit of Derpibooru and/or the Philomena software
  • I understand my contributions are licensed under the GNU AGPLv3
  • I understand all of the above

Right now, if you would try to submit a tag change with blacklisted tag, wait for error to show up and then cancel the editing, block with tag view will disappear from the page:

Screencast.from.2024-12-15.00-30-51.webm

It was caused by the template not marking tags block as being hidden, and JS toggling the hide class. This PR would correctly mark the block as hidden, fixing the problem:

Screencast.from.2024-12-15.00-32-21.webm

@liamwhite liamwhite merged commit c7f715c into philomena-dev:master Dec 15, 2024
4 checks passed
@koloml koloml deleted the fix-missing-hide-state-of-tag-view branch December 15, 2024 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants