[BUGFIX] Add correct context to page tree context menu 42/56342/3
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Sun, 18 Mar 2018 08:56:29 +0000 (09:56 +0100)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 19 Mar 2018 18:37:57 +0000 (19:37 +0100)
commit8044bbe29ee2360fa13b7c7ebacb7585ff61e16f
tree8b7bf12fea65322bb1ec91f391c1b56110ed4008
parent332b65bde6a825bc1c5b9cd7f3fed8319e136529
[BUGFIX] Add correct context to page tree context menu

In order to allow user to disable context menu items for certain context,
e.g. page tree, page tree need to correctly pass the context to the JS.

As SvgTree doesnt support context menu, the code is moved to the PageTree.js
Also a bug in the changelog documentation is fixed.

Releases: master, 8.7
Resolves: #84017
Change-Id: I4c3b51aa50d1750b86391342ba45aaec00c70a10
Reviewed-on: https://review.typo3.org/56342
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
Reviewed-by: Paweł Rogowicz <rogowicz.pawel@gmail.com>
Tested-by: Paweł Rogowicz <rogowicz.pawel@gmail.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTree.js
typo3/sysext/backend/Resources/Public/JavaScript/SvgTree.js
typo3/sysext/core/Documentation/Changelog/8.6/Breaking-78192-RefactorClickMenuContextMenu.rst