Changeset 3154279
- Timestamp:
- 09/19/2024 06:04:01 AM (16 months ago)
- File:
-
- 1 edited
-
surveyjs/trunk/views/editor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
surveyjs/trunk/views/editor.php
r3075493 r3154279 158 158 }); 159 159 }); 160 editor.onSurveyInstanceCreated.add(function(creatot, options) { 161 const reason = options.reason; 162 const survey = options.survey; 163 if (reason === "test" || reason === "theme") { 164 survey.getAllQuestions().forEach((q)=>{q.storeDataAsText = true}); 165 } 166 }) 160 167 const creator = editor; 161 168 var json = '<?php echo htmlspecialchars_decode($json); ?>';
Note: See TracChangeset
for help on using the changeset viewer.