Skip to content

Commit

Permalink
Fixed issue #7625: Cannot include response and invitation infomation …
Browse files Browse the repository at this point in the history
…in confirmation message
  • Loading branch information
c-schmitz committed Mar 1, 2013
1 parent 38cc39b commit f3776d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion application/controllers/admin/limereplacementfields.php
Expand Up @@ -83,7 +83,7 @@ private function _getQuestionList($action, $gid, $qid, array $fieldmap, $questio
continue;
}

if ($this->_shouldAddQuestion($action, $gid, $qid, $question, $previousQuestion)) {
if (is_null($qid) || $this->_shouldAddQuestion($action, $gid, $qid, $question, $previousQuestion)) {
$isPreviousPageQuestion = $this->_addQuestionToList($action, $gid, $question, $questionType, $surveyformat, $isPreviousPageQuestion, $questionList);
$previousQuestion = $question;
}
Expand Down
2 changes: 1 addition & 1 deletion application/helpers/admin/htmleditor_helper.php
Expand Up @@ -243,7 +243,7 @@ function getInlineEditor($fieldtype,$fieldname,$fieldtext, $surveyID=null,$gID=n
,LimeReplacementFieldsQID : \"".$qID."\"
,LimeReplacementFieldsType : \"".$fieldtype."\"
,LimeReplacementFieldsAction : \"".$action."\"
,LimeReplacementFieldsPath : \"".Yii::app()->getController()->createUrl("admin/limereplacementfields/index/")."\"
,LimeReplacementFieldsPath : \"".Yii::app()->getController()->createUrl("admin/limereplacementfields/sa/index/")."\"
,width:'660'
,language:'".sTranslateLangCode2CK(Yii::app()->session['adminlang'])."'
,smiley_path : \"".Yii::app()->getConfig('uploadurl')."/images/smiley/msn/\"\n"
Expand Down
2 changes: 1 addition & 1 deletion application/views/admin/htmleditor/pop_editor_view.php
Expand Up @@ -42,7 +42,7 @@ function closeme()
LimeReplacementFieldsType: "<?php echo $sFieldType; ?>",
LimeReplacementFieldsAction: "<?php echo $sAction; ?>",
smiley_path: "<?php echo Yii::app()->getConfig('rooturl') . '/upload/images/smiley/msn/'; ?>",
LimeReplacementFieldsPath : "<?php echo Yii::app()->getConfig('rooturl') . '/index.php/admin/limereplacementfields/index'; ?>",
LimeReplacementFieldsPath : "<?php echo Yii::app()->getConfig('rooturl') . '/index.php/admin/limereplacementfields/sa/index'; ?>",
language : "<?php echo $ckLanguage ?>"
<?php echo $htmlformatoption; ?> });
});
Expand Down
Expand Up @@ -13,7 +13,7 @@
title : lang.title,
minWidth : 300,
minHeight : 80,
height : 200,
height : 260,
resizable : CKEDITOR.DIALOG_RESIZE_NONE,
contents :
[
Expand Down

0 comments on commit f3776d6

Please sign in to comment.