[BUGIFX] Fix JS error in filtering page tree 89/54689/2
authorHelmut Hummel <typo3@helhum.io>
Sun, 19 Nov 2017 20:12:18 +0000 (21:12 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Mon, 20 Nov 2017 07:29:54 +0000 (08:29 +0100)
commit33bc57127dd6c4aa456b4fa06b32bb08288d5c48
tree9e07c751c7592bf5e50757b368e9d91a32876b24
parentf6de7c849610b6a28c596d3decaef2efe06f8b40
[BUGIFX] Fix JS error in filtering page tree

While fixing #82877 a mistake was introduced which leads
to a JavaScript error when filtering the page tree.

Problem is that PageTree.select() is called with
the filter tree currently active, but this method
is only functional for the full page tree since quite
a while now.

We now avoid calling this method and document the behavior
properly in method annotations.

Additionally a typo in the variable name is fixed,
which lead to a jquery warning when selecting a page.

Resolves: #83039
Releases: master, 8.7
Change-Id: I6440fb7f6cfd6ead8b5b29dea7c5081dd688a5c3
Reviewed-on: https://review.typo3.org/54689
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/app.js
typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/toppanel.js