diff --git a/courses/templates/subject/form_view_teacher.html b/courses/templates/subject/form_view_teacher.html index 7c7d102..6a45ba6 100644 --- a/courses/templates/subject/form_view_teacher.html +++ b/courses/templates/subject/form_view_teacher.html @@ -39,7 +39,7 @@ -
+

@@ -86,7 +86,7 @@

-
+
diff --git a/forum/static/js/forum.js b/forum/static/js/forum.js index ac0c95a..5a5c400 100644 --- a/forum/static/js/forum.js +++ b/forum/static/js/forum.js @@ -44,7 +44,7 @@ function createForum(url, topic) { url: url, data: {'topic': topic}, success: function(data) { - $(".forum_form").html(data); + $(".topic_" + topic).find(".forum_form").html(data); $("#id_topic").val(topic); setForumCreateFormSubmit(); -- libgit2 0.21.2