[TASK] Code cleanup FormEngine.js 18/45818/4
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 31 Dec 2015 17:25:42 +0000 (18:25 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Thu, 14 Jan 2016 15:15:28 +0000 (16:15 +0100)
commita35df50d881378577c0c29eff1e13af63e5f94ed
tree02978c4da37ba2c1fa05d8668c07061fc6e12ca3
parent168262ebea5d44030491a49096ac2c4e472ce1ae
[TASK] Code cleanup FormEngine.js

The code of FormEngine.js is a bit cleaned up:
- Initialize variables explicitly
- Fix a typo: "undefinied" > "undefined"
- Chain event listeners

Change-Id: I3541a895622b109d1afdc805b1540f6ff1f44114
Resolves: #72498
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/45535
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit 8fbfc693999711e8b7c3dc6dd4d9112931fec845)
Reviewed-on: https://review.typo3.org/45818
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js