From: Guillaume Pellerin Date: Sat, 26 Jul 2014 07:09:27 +0000 (+0200) Subject: fix box X-Git-Tag: 1.1~346 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=f910b2918a8368bd52e19d117b3d63915f57bc90;p=teleforma.git fix box --- diff --git a/teleforma/exam/templates/exam/script_detail.html b/teleforma/exam/templates/exam/script_detail.html index 1186e69a..ff9745ce 100644 --- a/teleforma/exam/templates/exam/script_detail.html +++ b/teleforma/exam/templates/exam/script_detail.html @@ -71,10 +71,14 @@ }); // $("#box-iframe").contents().find("span.btn.text-btn.strikeout-btn").hide(); - $( "#dialog_comments" ).dialog( "open"); + }); + $(window).ready(function(){ + $( "#dialog_comments" ).dialog( "open"); + }); + {% endblock extra_javascript %}