Skip to content

Commit

Permalink
[BUGFIX] Access correct event variable in ContextMenu.ts
Browse files Browse the repository at this point in the history
Resolves: #87839
Releases: master, 9.5
Change-Id: I9097c4e53c44b3a08eaf82ddc332514d196e1722
Reviewed-on: https://review.typo3.org/c/59852
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
  • Loading branch information
NeoBlack authored and wouter90 committed Mar 8, 2019
1 parent 53a23e6 commit 4556b96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -100,7 +100,7 @@ class ContextMenu {
const $me = $(e.currentTarget);
// if there is an other "inline" onclick setting, context menu is not triggered
// usually this is the case for the foldertree
if ($(e.currentTarget).prop('onclick') && event.type === 'click') {
if ($me.prop('onclick') && e.type === 'click') {
return;
}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4556b96

Please sign in to comment.