[BUGIFX] Fix JS error in filtering page tree 88/54688/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:26:25 +0000 (08:26 +0100)
commitfea8a24e53cb7a3f2ea0a12aa8737c77915fd298
treecfe3712f88c1b4f384e32f8dde985b49aaa11224
parent7650ede4f5c629ab561de9600baa25289657ea02
[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/54688
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Sebastian Fischer <typo3@evoweb.de>
Tested-by: Sebastian Fischer <typo3@evoweb.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
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/actions.js
typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/app.js
typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/toppanel.js