Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix EZP-23478: unexpected legacy red. after publish
When editing content from a new stack frontoffice, with edit screen handled in a legacy fallback, redirection after publish will be done to the last visited legacy uri, not to the edited content as we could expect. This fix adds explicit post fields to the ezdemo edit templates, so that explicit redirection uris can be passed to the form. The RedirectURIAfterPublish and RedirectIfDiscarded POST variables can be sent to content/action and content/edit. They will be saved to the session, and added to the form.
- Loading branch information
Bertrand Dunogier
committed
Nov 26, 2014
1 parent
7047ec2
commit 2131212
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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