[svn r12814] minor - Fix a bug on the onclick : http://projects.dokeos.com/?do=details&id=1795

skala
Julian Prud'homme 19 years ago
parent d20c4ea8f3
commit 6cbf95acf5
  1. 2
      main/exercice/exercise_show.php

@ -727,7 +727,7 @@ $result =api_sql_query($query, __FILE__, __LINE__);
$name = "fckdiv".$questionId; $name = "fckdiv".$questionId;
$marksname = "marksName".$questionId; $marksname = "marksName".$questionId;
?> ?>
<a href="#" onclick="showfck('<?php echo $name; ?>','<?php echo $marksname; ?>');"><?php if ($answerType == FREE_ANSWER) echo "&nbsp;".get_lang('EditCommentsAndMarks'); else echo "&nbsp;".get_lang('AddComments');?></a> <a href="javascript://" onclick="showfck('<?php echo $name; ?>','<?php echo $marksname; ?>');"><?php if ($answerType == FREE_ANSWER) echo "&nbsp;".get_lang('EditCommentsAndMarks'); else echo "&nbsp;".get_lang('AddComments');?></a>
<?php <?php
$comnt = get_comments($id,$questionId); $comnt = get_comments($id,$questionId);
echo "<br> <br>".$comnt; echo "<br> <br>".$comnt;

Loading…
Cancel
Save