[BUGFIX] RTE: formatblock configuration may raise JavaScript error 05/37805/3
authorStanislas Rolland <typo3@sjbr.ca>
Wed, 18 Mar 2015 21:38:56 +0000 (17:38 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Thu, 19 Mar 2015 16:42:42 +0000 (17:42 +0100)
commit172b46fbeb30656264bfcbda5bce73e05a2702f3
treef247743805ceb4c46f9e773365a41fbcd3419304
parentff108e1e015dd2815d4475a55e972c9fc92ab546
[BUGFIX] RTE: formatblock configuration may raise JavaScript error

The RTE then fails to load.
Solution: Check for the presence of configured formatblock options.

Releases: master
Resolves: #65710
Change-Id: I16045aa4ef02400b71ad0109acf2ff4ed1304ff0
Reviewed-on: http://review.typo3.org/37805
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/Plugins/BlockElements.js