[BUGFIX] Context menu is not completely visible in filelist with scrollbar 92/54392/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:49:18 +0000 (14:49 +0200)
commit4d048f81146b0c813068f9bc6f1f80ed25b53537
tree947868de1904d792918fc953ab0a718653eeafbf
parentb9d76b95c6b823f8cc5d29943404a570b0b94daa
[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/54392
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Resources/Public/JavaScript/ContextMenu.js