[BUGFIX] Cleanup in SelectTreeElement 97/43697/5
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 1 Oct 2015 14:07:22 +0000 (16:07 +0200)
committerNicole Cordes <typo3@cordes.co>
Thu, 1 Oct 2015 16:47:26 +0000 (18:47 +0200)
commit84edee6b1c40971d0f68fc9579ddae6f7927d8fe
treefa828d28efac0834ebbe4b36890dd39df1732c02
parent2433dbdb18f2fffb18c19af93eee3e5454737ff5
[BUGFIX] Cleanup in SelectTreeElement

* Remove unnecessary $treeData variable
* Fix broken JS in onChange handler
* Enforce int casting of $width

Resolves: #70272
Releases: master
Change-Id: I76b2233a30f6c033839f53404340485f7302f9ca
Reviewed-on: http://review.typo3.org/43697
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Andreas Bouche <andreas.bouche@flagbit.de>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Form/Element/SelectTreeElement.php