[BUGFIX] Handle new record correctly in selectTree form element 77/49577/2
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Wed, 24 Aug 2016 15:41:01 +0000 (17:41 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 25 Aug 2016 05:14:07 +0000 (07:14 +0200)
commit9ced758f661a2047ad059e4774b4d1a5691e9395
treefb5d01781fd7622c6d8f2db67a1b95e69eb9d162
parent7af008ff156480fedae42c5de9a5f850c1c7638f
[BUGFIX] Handle new record correctly in selectTree form element

Pass command (edit/new) from input data attribute
to SelectTreeController.

Resolves: #77621
Releases: master
Change-Id: I58b5099402cbce3f50a2681eefa6ab4bba263a56
Reviewed-on: https://review.typo3.org/49577
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Controller/SelectTreeController.php
typo3/sysext/backend/Classes/Form/Element/SelectTreeElement.php
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine/Element/SelectTreeElement.js