Further fix to Survey macro processing changes

This commit is contained in:
Patrick Donelan 2009-10-13 20:10:52 +11:00 committed by Colin Kuskie
parent 20d0630658
commit 439f93f98e

View file

@ -2005,6 +2005,7 @@ sub prepareShowSurveyTemplate {
$section->{allowBackBtn} = $self->get('allowBackBtn');
my $out = $self->processTemplate( $section, $self->get('surveyQuestionsId') );
WebGUI::Macro::process($self->session, \$out);
$self->session->http->setMimeType('application/json');
return to_json( { type => 'displayquestions', section => $section, questions => $questions, html => $out } );