[FOLLOWUP][BUGFIX] EXT:form - handle boolean finisher options 26/55026/4
authorMathias Brodala <mbrodala@pagemachine.de>
Mon, 11 Dec 2017 11:16:27 +0000 (12:16 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 11 Dec 2017 21:55:44 +0000 (22:55 +0100)
Fix preview rendering.

Change-Id: I0c11304175a0734b2c3690c1e460490e3733bba5
Resolves: #82569
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55026
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/Core.js

index 59dbd8c..b135e57 100644 (file)
@@ -2020,7 +2020,7 @@ define(['jquery'], function($) {
 
                 _runningAjaxRequests['renderFormDefinitionPage'] = $.post(_dataBackendEndpoints['formPageRenderer'], {
                     tx_form_web_formformbuilder: {
-                        formDefinition: utility().convertToSimpleObject(getApplicationStateStack().getCurrentState('formDefinition')),
+                        formDefinition: JSON.stringify(utility().convertToSimpleObject(getApplicationStateStack().getCurrentState('formDefinition'))),
                         pageIndex: pageIndex,
                         prototypeName: _dataBackendPrototypeName
                     }