Enforce the "Save and preview" button after when switching content app#17985
Merged
AndyButland merged 1 commit intorelease/13.6from Jan 15, 2025
Merged
Conversation
AndyButland
approved these changes
Jan 15, 2025
Contributor
AndyButland
left a comment
There was a problem hiding this comment.
Test and confirmed that this fixes the incorrect behaviour.
This was referenced Sep 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prerequisites
If there's an existing issue for this PR then this fixes #16911
Description
Adding a custom content app introduces a weird behaviour for the "Save and preview" button; if you go to the custom content app and back again to the "Content" or "Info" content apps, the "Save and preview" button has disappeared - the "Save" and the "Publish" buttons are still there, though.
This PR fixes it.
Testing this PR
Extract this custom content app into
/App_Pluginsand restart the site.Navigate between the content apps and verify that the "Save and preview" button disappears and re-appears along with the rest of the buttons.