Skip to content
Snippets Groups Projects
Commit ad995ee2 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Richard Haeser
Browse files

[BUGFIX] Check correctly for existing click event

With #90238 the JavaScript function `goToalt_doc` is registered as a
Fluid variable. However, the check for an existing event in the template
broke as the variable now always has a value.

To fix the situation, a new boolean variable `hasClickEvent` is
introduced.

Resolves: #90344
Related: #90238
Releases: master, 9.5
Change-Id: I7d86d300be923db82a0f79c3dd479a708230d92d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63185


Reviewed-by: default avatarClaus Due <claus@phpmind.net>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarRichard Haeser <richard@maxserv.com>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarRichard Haeser <richard@maxserv.com>
parent 106b0b0e
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment