[TASK] Code cleanup FormEngine.js 35/45535/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 31 Dec 2015 17:25:42 +0000 (18:25 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 8 Jan 2016 16:16:33 +0000 (17:16 +0100)
commit8fbfc693999711e8b7c3dc6dd4d9112931fec845
tree3ac5f05fdfd7d6a910dbc6c23103a014b860cc57
parent744514c1267e9d6bbdaee3bf275adc9429c9f9c4
[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>
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine.js