Skip to content

Commit

Permalink
EZP-23478: redirection after publish form fields
Browse files Browse the repository at this point in the history
(cherry picked from commit c86ce90)
  • Loading branch information
Bertrand Dunogier committed Nov 27, 2014
1 parent 691ebe7 commit 8e629e1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
{include uri='design:parts/websitetoolbar/logo.tpl'}

<form method="post" action={"content/action"|ezurl}>

{if is_set($redirect_uri)}
<input type="hidden" name="RedirectURIAfterPublish" value="{$redirect_uri|wash}" />
<input type="hidden" name="RedirectIfDiscarded" value="{$redirect_uri|wash}" />
{/if}
{if and( $content_object.can_create, $is_container )}
<div id="ezwt-creataction" class="ezwt-actiongroup">
<label for="ezwt-create" class="hide">Create:</label>
Expand Down

0 comments on commit 8e629e1

Please sign in to comment.