[BUGFIX] Hide page tree toggle button (if no page tree is needed) 23/50323/2
authorDaniel Windloff <daniel.jc.windloff@googlemail.com>
Sat, 22 Oct 2016 10:28:54 +0000 (12:28 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Tue, 25 Oct 2016 11:44:59 +0000 (13:44 +0200)
commit25888407789d55731e212065836eda8f3bf57a9b
tree84419b279ba4aab9b1e9902c1a47e571a0a414a5
parent8b2d237981fd582e0cd5f3e5747fbe2fe1e4bd2d
[BUGFIX] Hide page tree toggle button (if no page tree is needed)

Do not show the page tree toggle button for modules
that don't use the page tree to select a current page or folder.

In order to prevent a jumping logo, set the visibility to hidden
or visible.

Resolves: #78311
Releases: master
Change-Id: I13ab164e1d1dd2a21e0dce94c709ac589970a69f
Reviewed-on: https://review.typo3.org/50323
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Resources/Public/JavaScript/Viewport.js