Skip to content

Commit

Permalink
Fix EZP-24052: Preview causes redirect to versionview not being able to
Browse files Browse the repository at this point in the history
continue editing

> https://jira.ez.no/browse/EZP-24052

See ezsystems/LegacyBridge#23

(cherry picked from commit a3d7e07)

Conflicts:
	Resources/views/pagelayout.html.twig
  • Loading branch information
lolautruche committed Apr 1, 2015
1 parent 1ac7720 commit 17869bb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Resources/views/pagelayout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
{% endif %}

<!-- Complete page area: START -->
{% if currentLocation is defined %}
{{ render( controller( "ezpublish_legacy.website_toolbar.controller:websiteToolbarAction", { 'locationId': currentLocation.id} ) ) }}
{% endif %}
{{ render( controller( "ezpublish_legacy.website_toolbar.controller:websiteToolbarAction", { 'locationId': currentLocation.id|default( null )} ) ) }}
<div id="page" class="">
<!-- Header area: START -->
{% block header %}
Expand Down

0 comments on commit 17869bb

Please sign in to comment.