Skip to content

Commit

Permalink
Fixed issue #9361: HTML in group name breaks question reordering
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Nov 16, 2014
1 parent 8d481e8 commit a8e9d71
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,4 +1,4 @@
<?php
<?php
App()->getClientScript()->registerPackage('jquery-nestedSortable');
App()->getClientScript()->registerScriptFile(Yii::app()->getConfig('adminscripts') . 'organize.js');
?>
Expand All @@ -12,7 +12,7 @@
<?php
foreach ($aGroupsAndQuestions as $aGroupAndQuestions)
{?>
<li id='list_g<?php echo $aGroupAndQuestions['gid'];?>' class='group-item' data-level='group'><div class='ui-widget-header'> <?php echo $aGroupAndQuestions['group_name'];?></div>
<li id='list_g<?php echo $aGroupAndQuestions['gid'];?>' class='group-item' data-level='group'><div class='ui-widget-header'> <?php echo flattenText($aGroupAndQuestions['group_name'],true);?></div>
<?php if (isset ($aGroupAndQuestions['questions']))
{?>
<ol class='question-list' data-level='question'>
Expand Down

0 comments on commit a8e9d71

Please sign in to comment.