Skip to content

Commit

Permalink
Fixed issue: Resume later button not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jul 27, 2012
1 parent 0521fbf commit 0014a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/replacements_helper.php
Expand Up @@ -446,7 +446,7 @@ function templatereplace($line, $replacements = array(), &$redata = array(), $de
$_saveall = "\t\t\t<input type='button' name='saveallbtn' value='" . $clang->gT("Resume later") . "' class='saveall' onclick=\"javascript:document.limesurvey.move.value = this.value;addHiddenField(document.getElementById('limesurvey'),'saveall',this.value);document.getElementById('limesurvey').submit();\" " . (($thissurvey['active'] != "Y") ? "disabled='disabled'" : "") . "/>"; // Show Save So Far button
};
}
elseif (!isset(Yii::app()->session['step']) || !Yii::app()->session['step'])
elseif (isset($surveyid) && !isset($_SESSION['survey_'.$surveyid]['step']) || !$_SESSION['survey_'.$surveyid]['step'])
{ //First page, show LOAD
if ($thissurvey['tokenanswerspersistence'] != 'Y' || !isset($surveyid) || !tableExists('tokens_'.$surveyid))
{
Expand Down

0 comments on commit 0014a45

Please sign in to comment.