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

KS-4501: Return to wiki home page when canceling to edit a template #136

Open
wants to merge 1 commit into
base: stable/2.2.x
Choose a base branch
from

Conversation

nguyenthienhuong
Copy link

Fix description: Redirect to template's list on Space Setting when editting Template.

@@ -53,4 +53,7 @@ protected boolean isNewMode() {
protected String getCurrentPageURL() throws Exception {
return Utils.getURLFromParams(Utils.getCurrentWikiPageParams());
}
protected boolean isEditTemplate() {
Copy link

Choose a reason for hiding this comment

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

return WikiMode.EDITTEMPLATE.equals(getAncestorOfType(UIWikiPortlet.class).getWikiMode());

Fix description: Redirect to template's list on Space Setting when editting Template.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants