Changeset 3176754
- Timestamp:
- 10/28/2024 09:04:42 AM (17 months ago)
- File:
-
- 1 edited
-
surveyjs/trunk/views/editor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
surveyjs/trunk/views/editor.php
r3172936 r3176754 169 169 creator.text = json; 170 170 //creator.JSON = surveyJSON; 171 const themeJSON = JSON.parse('<?php echo htmlspecialchars_decode($themeJson); ?>'); 172 creator.theme = themeJSON; 171 const themeJSON = '<?php echo htmlspecialchars_decode($themeJson); ?>'; 172 if (themeJSON) { 173 creator.theme = JSON.parse(themeJSON); 174 } 173 175 return (<SurveyCreator.SurveyCreatorComponent creator={creator} />); 174 176 }
Note: See TracChangeset
for help on using the changeset viewer.