Skip to content

Commit

Permalink
Fixed issue #16095: Multiple choice exclamation sign without text
Browse files Browse the repository at this point in the history
Dev: get the text from 3.X, same behaviour
  • Loading branch information
Shnoulle committed Apr 17, 2020
1 parent b3a6642 commit f8f2871
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions application/helpers/expressions/em_manager_helper.php
Expand Up @@ -6690,6 +6690,7 @@ function ($sqRankAnwsers) {
}
if (!($qInfo['type'] == Question::QT_EXCLAMATION_LIST_DROPDOWN || $qInfo['type'] == Question::QT_L_LIST_DROPDOWN))
{
$sMandatoryText = $LEM->gT('Please check at least one item.');
$mandatoryTip .= App()->twigRenderer->renderPartial('/survey/questions/question_help/mandatory_tip.twig', array(
'sMandatoryText'=>$sMandatoryText,
'part' => 'multiplechoice',
Expand Down
Expand Up @@ -6,7 +6,7 @@
* @var qInfo : from ExpressionManager
*/
#}
<div class='ls-question-mandatory text-danger' role='alert'>
<div class='ls-question-mandatory ls-question-mandatory-{{part}} text-danger ' role='alert'>
<span class='fa fa-exclamation-circle' aria-hidden="true"></span>
{{ sMandatoryText }}
</div>

0 comments on commit f8f2871

Please sign in to comment.