Revision 347bceddf2bac253d8e4207df455e01ca2237291

Committed on 26/11/2014 9:00 am by Bertrand Dunogier <bd@ez.no> [GitHub Diff]

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.