[BUGFIX] Add correct context to page tree context menu 76/56376/2
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Sun, 18 Mar 2018 08:56:29 +0000 (09:56 +0100)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Thu, 29 Mar 2018 10:22:38 +0000 (12:22 +0200)
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/56376
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/core/Documentation/Changelog/8.6/Breaking-78192-RefactorClickMenuContextMenu.rst

index 6ab2222..91a4207 100644 (file)
@@ -59,10 +59,13 @@ Migration
 
 Migrate TSConfig from:
 
-:typoscript:`options.contextMenu.folderList.disableItems` to :typoscript:`options.contextMenu.sys_file.disableItems`
-:typoscript:`options.contextMenu.folderTree.disableItems` to :typoscript:`options.contextMenu.sys_file.tree.disableItems`
-:typoscript:`options.contextMenu.pageList.disableItems` to :typoscript:`options.contextMenu.pages.disableItems`
-:typoscript:`options.contextMenu.pageTree.disableItems` to :typoscript:`options.contextMenu.pages.tree.disableItems`
+:typoscript:`options.contextMenu.folderList.disableItems` to :typoscript:`options.contextMenu.table.sys_file.disableItems`
+
+:typoscript:`options.contextMenu.folderTree.disableItems` to :typoscript:`options.contextMenu.table.sys_file.tree.disableItems`
+
+:typoscript:`options.contextMenu.pageList.disableItems` to :typoscript:`options.contextMenu.table.pages.disableItems`
+
+:typoscript:`options.contextMenu.pageTree.disableItems` to :typoscript:`options.contextMenu.table.pages.tree.disableItems`
 
 
 
@@ -123,4 +126,4 @@ Migration
 Adapt your code to the new click menu API.
 
 
-.. index:: Backend, JavaScript, PHP-API, TSConfig
\ No newline at end of file
+.. index:: Backend, JavaScript, PHP-API, TSConfig