[FOLLOWUP][BUGFIX] EXT:form - handle boolean finisher options 36/55036/2
authorMathias Brodala <mbrodala@pagemachine.de>
Mon, 11 Dec 2017 11:16:27 +0000 (12:16 +0100)
committerBenni Mack <benni@typo3.org>
Tue, 12 Dec 2017 05:23:06 +0000 (06:23 +0100)
Fix preview rendering.

Change-Id: I0c11304175a0734b2c3690c1e460490e3733bba5
Resolves: #82569
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/55036
Tested-by: TYPO3com <no-reply@typo3.com>
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 c1aac2b..fd30537 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
                     }