Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JSON editor options to load the right content #1130

Merged
merged 1 commit into from Oct 17, 2018
Merged

Fix JSON editor options to load the right content #1130

merged 1 commit into from Oct 17, 2018

Conversation

yent
Copy link
Contributor

@yent yent commented Sep 25, 2018

Fix JSON editor options to load the right content into the embedded JSON editor, issue was that content, whatever its type, was passed to CHtml::encode which expects a string due to lack of encode htmlOption for CHtml::textarea. Also added needed json_encode so that textarea value is a string in the end.

Fixed issue # :
New feature # :
Changed feature # :
Dev:
Dev:

Fix JSON editor options to load the right content into the embedded JSON editor, issue was that content, whatever its type, was passed to CHtml::encode which expects a string due to lack of encode htmlOption for CHtml::textarea. Also added needed json_encode so that textarea value is a string in the end.
@c-schmitz
Copy link
Contributor

@LouisGac @dominikvitt Please review and merge if okay.

@LouisGac LouisGac merged commit 2f87a0f into LimeSurvey:master Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants