From f910b2918a8368bd52e19d117b3d63915f57bc90 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sat, 26 Jul 2014 09:09:27 +0200 Subject: [PATCH] fix box --- teleforma/exam/templates/exam/script_detail.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 %} -- 2.39.5