[BUGFIX] Select first element in tree when deleting selected node 91/57791/14
authorPaweł Rogowicz <rogowicz.pawel@gmail.com>
Fri, 3 Aug 2018 13:49:04 +0000 (15:49 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Thu, 9 Aug 2018 13:06:52 +0000 (15:06 +0200)
commitf308e66288ff24d59e734a5ce9517bcb895fe17c
treecff8447891b56130a31ad4a4a55ebae163c70d9d
parentc5b7097ddb8638de1c8e7df03c9d8d984338fccf
[BUGFIX] Select first element in tree when deleting selected node

This patch fixes a bug which occured when deleting a currently selected
node. After deleting this node the first element of the tree is
displayed.

Releases: master
Resolves: #85431
Change-Id: I64cd7c4ebd8415a2c261da3f62f8e412575b0075
Reviewed-on: https://review.typo3.org/57791
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Tested-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Reviewed-by: Joerg Kummer <typo3@enobe.de>
Tested-by: Joerg Kummer <typo3@enobe.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/backend/Resources/Private/TypeScript/ContextMenuActions.ts
typo3/sysext/backend/Resources/Private/TypeScript/Viewport/NavigationComponentInterface.ts
typo3/sysext/backend/Resources/Private/TypeScript/Viewport/PageTree.ts
typo3/sysext/backend/Resources/Public/JavaScript/ContextMenuActions.js
typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTree.js
typo3/sysext/backend/Resources/Public/JavaScript/Viewport/PageTree.js
typo3/sysext/beuser/Classes/Controller/PermissionController.php