Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Commit

Permalink
fixed translation step jumps
Browse files Browse the repository at this point in the history
  • Loading branch information
Guite committed Oct 26, 2018
1 parent 5b8746a commit b0d92bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -140,6 +140,7 @@ New features:

Bugfixes:
- Addition of (minor) safety check for Slideshare, Vimeo and YouTube content types.
- Provide full tree slug during first page translation step for proper step jumps.

### Version 5.0.1

Expand Down
Expand Up @@ -158,7 +158,7 @@
</div>
{% endif %}
{% endif %}
<div id="jsParameters" class="hidden" data-selfroute="zikulacontentmodule_page_{{ routeArea }}translate" data-pageslug="{{ page.slug|e('html_attr') }}" data-yandex="{{ yandexApiKey|e('html_attr') }}"></div>
<div id="jsParameters" class="hidden" data-selfroute="zikulacontentmodule_page_{{ routeArea }}translate" data-pageslug="{{ pageSlug|e('html_attr') }}" data-yandex="{{ yandexApiKey|e('html_attr') }}"></div>
{% endblock %}
{% block footer %}
{{ parent() }}
Expand Down
Expand Up @@ -771,6 +771,7 @@ protected function translateInternal(Request $request, $slug, $isAdmin = false)
'localesWithMandatoryFields' => $localesWithMandatoryFields,
'form' => $form->createView(),
'page' => $page,
'pageSlug' => $pageSlug,
'contentItem' => $contentItem,
'contentType' => $contentType
];
Expand Down

0 comments on commit b0d92bf

Please sign in to comment.