Skip to content
Snippets Groups Projects
Commit 594b19fd authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Tymoteusz Motylewski
Browse files

[BUGFIX] Do not apply default node settings when invoking command

The issue #89687 introduced a smaller response for page tree nodes by
moving sane default attributes to JavaScript and overriding with the
actual result.

However, this is also done if a new page is created via drag&drop, the
attribute get in a mixed state and page tree hurts itself in confusion.

The default attributes are now applied only if no DataHandler command is
invoked.

Additionally, some variables in TreeController were wrongly used, which
has been fixed as well.

Resolves: #89822
Related: #89687
Releases: master, 9.5
Change-Id: Ia91b02eaf534cb1ce65a09e1c78fa6343630bdcf
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62507


Tested-by: default avatarClaus Due <claus@phpmind.net>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: default avatarClaus Due <claus@phpmind.net>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarTymoteusz Motylewski <t.motylewski@gmail.com>
parent 82d9e223
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment