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

Fix the disappearance of collapsed metadata #6237

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

BartChris
Copy link
Collaborator

@BartChris BartChris commented Sep 27, 2024

Enhanced version of #6232
Fixes #6231

@solth I followed your suggestion to only "activate" the ajax tag in the metadata editor by using the onstart functionality for checking a passed in context value, which makes it possible to decide what the rendering context is.

Edit: I can probably inspect the URI directly to not having to introduce an addional renderContext.

@solth
Copy link
Member

solth commented Oct 1, 2024

@BartChris Please rebase against current master to avoid failing builds caused by broken Selenium tests!

Copy link
Member

@solth solth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BartChris it seems you found the best variation of the solution, now. It does indeed fix the nasty bug in the editor without having any side effects on the import mask. Thanks a lot for this - evolved! - fix!

@solth solth merged commit 3a577cc into kitodo:master Oct 2, 2024
5 checks passed
@solth
Copy link
Member

solth commented Oct 2, 2024

@BartChris would you mind opening a corresponding fix pull request for the 3.7 branch?

@BartChris
Copy link
Collaborator Author

Sure #6246

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.

Metadata elements of collapsed groups are lost when triggering a preserve action
2 participants