Navigation Menu

Skip to content

Commit

Permalink
Dev: removed the useless call to survey.pstpl (language changer + jav…
Browse files Browse the repository at this point in the history
…ascript alert are in startpage now)
  • Loading branch information
LouisGac committed Jan 11, 2017
1 parent 5d864fd commit 0e2c3d2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions application/helpers/SurveyRuntimeHelper.php
Expand Up @@ -383,12 +383,6 @@ public function run($surveyid,$args)
echo CHtml::htmlButton("default",array('type'=>'submit','id'=>"defaultbtn",'value'=>"default",'name'=>'move','class'=>"submit hidden",'style'=>'display:none'));
// <-- START THE SURVEY -->
*/
if ($surveyMode == 'survey')
{
}else{/* survey.pstpl is not included in all in one mode : welcome replace needed functionnality inside form for default template */
echo templatereplace(file_get_contents($sTemplateViewPath."survey.pstpl"), array(), $redata);

}

// runonce element has been changed from a hidden to a text/display:none one. In order to workaround an not-reproduced issue #4453 (lemeur)
// We don't need runonce actually (140228): the script was updated and replaced by EM see #08783 (grep show no other runonce)
Expand Down

0 comments on commit 0e2c3d2

Please sign in to comment.