Skip to content
Snippets Groups Projects
Commit 5786bd6e authored by srosse's avatar srosse
Browse files

OO-4265: components precise MathJAX rendering in correction workflow

parent 1045372b
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ error.reload.question=Une erreur inattendue s'est produite. Veuillez v\u00E9rifi ...@@ -124,7 +124,7 @@ error.reload.question=Une erreur inattendue s'est produite. Veuillez v\u00E9rifi
error.required.format=Votre entr\u00E9e ne correspond pas au format requis. error.required.format=Votre entr\u00E9e ne correspond pas au format requis.
error.test.closed=Le test est termin\u00E9 error.test.closed=Le test est termin\u00E9
error.textEntry.invalid=Votre entr\u00E9e doit \u00EAtre un {0} valide. error.textEntry.invalid=Votre entr\u00E9e doit \u00EAtre un {0} valide.
error.textEntry.invalid.float=Votre entr\u00E9e doit \u00EAtre un nombre {0} valide avec une virgule ou un point comme s\u00E9parateur d\u00E9cimal. error.textEntry.invalid.float=Votre entr\u00E9e doit \u00EAtre un nombre valide avec une virgule ou un point comme s\u00E9parateur d\u00E9cimal.
error.textEntry.invalid.record=Votre entr\u00E9e doit un nombre valide. error.textEntry.invalid.record=Votre entr\u00E9e doit un nombre valide.
exploded.msg=Explos\u00E9 exploded.msg=Explos\u00E9
form.metadata.title=Titre form.metadata.title=Titre
......
...@@ -7,5 +7,4 @@ ...@@ -7,5 +7,4 @@
$r.render("save.next") $r.render("save.next")
$r.render("save.back") $r.render("save.back")
</div> </div>
</div> </div>
$r.mathJax("o_assessmentitem_${r.getCId()}") \ No newline at end of file
\ No newline at end of file
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
<a id='h${sectionRubric.identifier}' href='javascript:;' class='o_toogle_rubrics o_hide'><span>$r.translate("hide.rubric.short")</span></a> <a id='h${sectionRubric.identifier}' href='javascript:;' class='o_toogle_rubrics o_hide'><span>$r.translate("hide.rubric.short")</span></a>
</div> </div>
<script> <script>
/* <![CDATA[ */
jQuery(function() { jQuery(function() {
jQuery('#${sectionRubric.identifier}, #h${sectionRubric.identifier}').on('click', function(linkIndex, linkEl) { jQuery('#${sectionRubric.identifier}, #h${sectionRubric.identifier}').on('click', function(linkIndex, linkEl) {
jQuery('#d${sectionRubric.identifier}').each(function(index, el) { jQuery('#d${sectionRubric.identifier}').each(function(index, el) {
...@@ -34,17 +33,16 @@ ...@@ -34,17 +33,16 @@
}); });
}); });
}); });
/* ]]> */
</script> </script>
</div> </div>
#end #end
</div> </div>
#end #end
<div class="o_qti_item_body clearfix">$r.render("answer")</div> <div id="o_c${f.getFormItem("answer").getComponent().getDispatchID()}" class="o_qti_item_body clearfix">$r.render("answer")</div>
#if($r.visible("solution")) #if($r.visible("solution"))
<div class="o_assessmentitem_control_view_solution">$r.render("view.solution")</div> <div class="o_assessmentitem_control_view_solution">$r.render("view.solution")</div>
<div class="o_qti_item_body clearfix">$r.render("solution")</div> <div id="o_c${f.getFormItem("solution").getComponent().getDispatchID()}" class="o_qti_item_body clearfix">$r.render("solution")</div>
#if(!$r.visible("view.correct.solution")) #if(!$r.visible("view.correct.solution"))
<div class="o_assessmentitem_controls"> </div> <div class="o_assessmentitem_controls"> </div>
#end #end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment