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

(cherry picked from commit 17869bb)

Conflicts:
	Resources/views/pagelayout.html.twig
  • Loading branch information
lolautruche committed Apr 1, 2015
1 parent d8cb61d commit bc257c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Resources/views/pagelayout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
</head>
<body>
<!-- Complete page area: START -->
{% if location is defined and not location.isDraft %}
{{ render( controller( "ezpublish_legacy.website_toolbar.controller:websiteToolbarAction", { 'locationId': location.id} ) ) }}
{% endif %}

{{ render( controller( "ezpublish_legacy.website_toolbar.controller:websiteToolbarAction", { 'locationId': location.id|default( null ) } ) ) }}

<div id="page" class="">
<!-- Header area: START -->
{% block header %}
Expand Down

0 comments on commit bc257c8

Please sign in to comment.