[BUGFIX] Test typeof TBE_EDITOR for object not function 71/28771/2
authorAlexander Opitz <opitz.alexander@googlemail.com>
Tue, 25 Mar 2014 15:02:52 +0000 (16:02 +0100)
committerXavier Perseguers <xavier@typo3.org>
Tue, 25 Mar 2014 16:36:58 +0000 (17:36 +0100)
commit8b39738797b18e6b8e23911dcad7fc687e35a16f
tree64554b28a1944af1d0eb189f8ecefbc1ada01a8d
parent8692d6e0ed88744365d0e77bbfb6c8f77a38ee1d
[BUGFIX] Test typeof TBE_EDITOR for object not function

As TBE_EDITOR is defined as object in jsfunc.tbe_editors.js we should
change the check here. Otherwise no eval user functions will be called.

Resolves: #57296
Releases: 6.2, 6.1
Change-Id: Ie1b701dcbf465827bc336233c2523f4df1dde9ba
Reviewed-on: https://review.typo3.org/28771
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Alexander Stehlik
Tested-by: Alexander Stehlik
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.evalfield.js