[BUGFIX] Abort `nodeSelectedAfter` on unchecked nodes 36/57836/4
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 8 Aug 2018 20:39:41 +0000 (22:39 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Tue, 4 Sep 2018 07:37:03 +0000 (09:37 +0200)
commit28cca08615dc836090fea2a387a8a3459720ffa5
treebfb1099d684a87ab9463f0f575020491b8b3aa6e
parent1f898d0f86206f9d17bdece59c309f301278bb22
[BUGFIX] Abort `nodeSelectedAfter` on unchecked nodes

If a node in the page tree is clicked, the `nodeSelectedAfter` event is
triggered for any active node that is being deactivated.

The event listener is now aborted if the event is called on a unchecked
node.

Resolves: #85787
Releases: master
Change-Id: I4fa5bbc4290b5ffd2ecb77a901dceb042dff3d27
Reviewed-on: https://review.typo3.org/57836
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Paweł Rogowicz <rogowicz.pawel@gmail.com>
Tested-by: Paweł Rogowicz <rogowicz.pawel@gmail.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTree.js