Disable turbo on login/logout forms, so page is fully reloaded.

This commit is contained in:
Jan Böhmer 2022-07-24 16:03:07 +02:00
parent 0b31a3b095
commit 1a9dfee0ed
12 changed files with 19 additions and 19 deletions

View file

@ -10,7 +10,7 @@
{% set disabled = attachment.secure and not is_granted("show_secure", attachment) %}
{% if not attachment_helper or attachment_helper.fileExisting(attachment) %}
{% if link and not disabled %}
<a target="_blank" data-no-ajax rel="noopener" href="{{ attachment|entityURL('file_view') }}">
<a target="_blank" data-turbo="false" rel="noopener" href="{{ attachment|entityURL('file_view') }}">
{% endif %}
{% if attachment.picture %}
<img class="hoverpic" data-thumbnail="{{ attachment|entityURL('file_view') }}" src="{{ attachment|entityURL('file_view') }}">