Path

ez projects / ezsurvey / forum / general / bug report: javascript erro...


Bug report: javascript error in override template

You need to be logged in to post messages in the forums. New users may register here.

David Wirth

Member since:
19 November 2009

Posts: 3

Monday 18 June 2012 7:37:45 pm

In future editions of ezsurvey, please fix /extension/ezsurvey/design/admin2/override/templates/fulll/survey.tpl so that this line...

$js_class_languages = $node.object.content_class.prioritized_languages_js_array

...is edited to this...

$js_class_languages = $node.object.content_class.prioritized_languages_js_array|explode( '"' )|implode( '\'' )

Otherwise the json string uses double quotes and this generates a javascript error (in IE at least; Chrome and FF appear to autocorrect this problem).
Up

You need to be logged in to post messages in the forums. New users may register here.