[BUGFIX] Context menu is not completely visible in filelist with scrollbar 90/54390/2
authorGianluigi Martino <gmartino27@gmail.com>
Fri, 13 Oct 2017 06:31:56 +0000 (08:31 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 13 Oct 2017 12:32:08 +0000 (14:32 +0200)
commitd0556bc114935d9120a1a3fc804718a04a0d4b16
tree41509fe8165508adef90e989674b13c3bc01b84c
parentcc2bd063b7ee11fa30426613f6f27c3b3c0ac567
[BUGFIX] Context menu is not completely visible in filelist with scrollbar

If the foldertree in filelist is to long, the rightclick context menu on
the bottom of the window is not completly visible. With this patch the
position of the menu is calculated based on the windows width and height
and so completly visible.

Resolves: #82732
Releases: master, 8.7
Change-Id: Ied9204371491059efda61143e9ca9c2f3c8a9b9d
Reviewed-on: https://review.typo3.org/54390
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wittkiel Gruppe <ts@wittkiel-gruppe.com>
Tested-by: Wittkiel Gruppe <ts@wittkiel-gruppe.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Resources/Public/JavaScript/ContextMenu.js