[TYPO3-core] FYI: Fixed bug: Missing try/catch for actionChecks in TBE_EDITOR

Oliver Hader oh at inpublica.de
Wed Jan 16 16:20:32 CET 2008


FYI: The following change was committed to SVN Trunk (rev. 2917)

Problem:
The code given in the actionChecks array is created via runtime and 
executed before sumbitting a form in typo3/jsfunc.tbe_editor.js. If one 
of the fields were removed in the form (due to some dynamically 
modification, e.g. IRRE) there'll be an JS error.

Solution:
Use a try/catch around the evaluation of these actionChecks.

Branch: Trunk

olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tbe_editor_actionChecks.patch
Type: text/x-patch
Size: 1249 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080116/005e478b/attachment.bin 


More information about the TYPO3-team-core mailing list