[BUGFIX] Change behavior of new element during drag & drop into node 61/55061/7
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Wed, 13 Dec 2017 14:32:07 +0000 (15:32 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Sat, 16 Dec 2017 13:42:53 +0000 (14:42 +0100)
commite1370d7e068f91e41e768c14dd966197138d6066
treec85a6a9c603224890c245b0bbc91297c7baecaaa
parent5103a47f81162ad60e6a4519077c0dd4ea0804dc
[BUGFIX] Change behavior of new element during drag & drop into node

- place input correctly
- open node with children while holding the mouse over
this node for one second (when drag-adding new node)
- add chevron and expand it when adding first child
- refactor node.open to node.expand because they did the same thing
- show icons for custom doktypes (fix regex)

Releases: master
Resolves: #83306
Change-Id: I0255fa50f836d002392ed7791eed1ac3517cb400
Reviewed-on: https://review.typo3.org/55061
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTree.js
typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTreeDragDrop.js
typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTreeToolbar.js
typo3/sysext/backend/Resources/Public/JavaScript/SvgTree.js