Commit d17ae011c6dff66a729f5a85f0015f02d6373a47

Authored by Rafael Manzo
Committed by Rafael Manzo
1 parent a7ae4154

[Mezuro] Fixed source tree renderization

plugins/mezuro/public/javascripts/processing.js
@@ -49,7 +49,7 @@ function toggle_mezuro(element){ @@ -49,7 +49,7 @@ function toggle_mezuro(element){
49 49
50 //TODO Waiting for ModuleResultController refactoring 50 //TODO Waiting for ModuleResultController refactoring
51 function reloadModule(){ 51 function reloadModule(){
52 - var module_result_id = jQuery(this).attr('module_result_id'); 52 + var module_result_id = jQuery(this).attr('data-module-id');
53 showLoadingProcess(false); 53 showLoadingProcess(false);
54 processingTree = true; 54 processingTree = true;
55 // callAction('module_result', 'project_tree', {results_root_id: results_root_id }, showProjectTree); 55 // callAction('module_result', 'project_tree', {results_root_id: results_root_id }, showProjectTree);
plugins/mezuro/views/mezuro_plugin_module_result/_module_result.rhtml
1 -<% render :partial => "source_tree", :locals => {:module_result => @module_result} %> 1 +<%= render :partial => "source_tree", :locals => {:module_result => @module_result} %>
2 <h5><%= _"Metric results for: #{@module_result.module.name} (#{@module_result.module.granularity})" %> </h5> 2 <h5><%= _"Metric results for: #{@module_result.module.name} (#{@module_result.module.granularity})" %> </h5>
3 3
4 <hr/> 4 <hr/>