Commit 379323311d15b3af3d3448a137ec09d80775b8b0

Authored by Zambom
1 parent 4f3f0549

Fixing summernote topic edition show

courses/static/js/topic_editation_presentation.js
@@ -6,7 +6,7 @@ $(document).ready(function(){ @@ -6,7 +6,7 @@ $(document).ready(function(){
6 function show_editation(id_topic){ 6 function show_editation(id_topic){
7 $(".presentation_"+ id_topic).hide(); 7 $(".presentation_"+ id_topic).hide();
8 $(".editation_"+ id_topic).show(); 8 $(".editation_"+ id_topic).show();
9 - $('#summernote').summernote({height: 300}); 9 + $(".editation_"+ id_topic).find('#summernote').summernote({height: 300});
10 }; 10 };
11 11
12 function show_presentation(id_topic){ 12 function show_presentation(id_topic){