diff --git a/codepot/src/codepot/views/code_folder.php b/codepot/src/codepot/views/code_folder.php index 77b879b2..dce8aa86 100644 --- a/codepot/src/codepot/views/code_folder.php +++ b/codepot/src/codepot/views/code_folder.php @@ -116,25 +116,25 @@ function show_loc_by_lang_graph (response) yaxes: { } }; - $("#code_folder_mainarea_result_info_loc_by_lang_graph").width(550).height(400); - $.plot($("#code_folder_mainarea_result_info_loc_by_lang_graph"), dataset, options); + $("#code_folder_mainarea_result_loc_by_lang_graph").width(550).height(400); + $.plot($("#code_folder_mainarea_result_loc_by_lang_graph"), dataset, options); - var code_folder_mainarea_result_info_loc_by_lang_graph_previous_point = null; + var code_folder_mainarea_result_loc_by_lang_graph_previous_point = null; - $("#code_folder_mainarea_result_info_loc_by_lang_graph").bind("plothover", function (event, pos, item) { + $("#code_folder_mainarea_result_loc_by_lang_graph").bind("plothover", function (event, pos, item) { if (item) { - if (code_folder_mainarea_result_info_loc_by_lang_graph_previous_point != item.datapoint) + if (code_folder_mainarea_result_loc_by_lang_graph_previous_point != item.datapoint) { - code_folder_mainarea_result_info_loc_by_lang_graph_previous_point = item.datapoint; - $("#code_folder_mainarea_result_info_loc_by_lang_graph_tooltip").remove(); - show_tooltip("code_folder_mainarea_result_info_loc_by_lang_graph_tooltip", item.pageX, item.pageY - 20, item.datapoint[1]); + code_folder_mainarea_result_loc_by_lang_graph_previous_point = item.datapoint; + $("#code_folder_mainarea_result_loc_by_lang_graph_tooltip").remove(); + show_tooltip("code_folder_mainarea_result_loc_by_lang_graph_tooltip", item.pageX, item.pageY - 20, item.datapoint[1]); } } else { - $("#code_folder_mainarea_result_info_loc_by_lang_graph_tooltip").remove(); - code_folder_mainarea_result_info_loc_by_lang_graph_previous_point = null; + $("#code_folder_mainarea_result_loc_by_lang_graph_tooltip").remove(); + code_folder_mainarea_result_loc_by_lang_graph_previous_point = null; } }); } @@ -152,7 +152,7 @@ function show_loc_by_file_graph (response) } else { - var f = new CodeFlower("#code_folder_mainarea_result_info_loc_by_file_graph", 550, 400); + var f = new CodeFlower("#code_folder_mainarea_result_loc_by_file_graph", 550, 400); f.update (loc); } @@ -446,8 +446,8 @@ $this->load->view (
-
-
+
+