[TASK] Remove toggle function from page tree root element 11/57911/3
authorPaweł Rogowicz <rogowicz.pawel@gmail.com>
Wed, 15 Aug 2018 10:06:08 +0000 (12:06 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Mon, 27 Aug 2018 15:37:56 +0000 (17:37 +0200)
commit1ea069214cef10fe2f7ae39c6bb190412d29e444
treee4f06c498a0d9b4c6f889ca743cd18cc8b14212b
parente92ab3be03fbc3244d591982deea8581345f75c0
[TASK] Remove toggle function from page tree root element

Remove toggle function from root node and set expanded on true if there
is only one node on depth 0. If there is more then 1
(e.g. when using DB Mounts) then keep toggle option.

Releases: master
Resolves: #85809
Change-Id: I94f9e20d048760e3a35ba1e8ed170521406a92d3
Reviewed-on: https://review.typo3.org/57911
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/backend/Resources/Public/JavaScript/SvgTree.js