Commit d17ae011c6dff66a729f5a85f0015f02d6373a47
Committed by
Rafael Manzo
1 parent
a7ae4154
Exists in
staging
and in
42 other branches
[Mezuro] Fixed source tree renderization
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
plugins/mezuro/public/javascripts/processing.js
| ... | ... | @@ -49,7 +49,7 @@ function toggle_mezuro(element){ |
| 49 | 49 | |
| 50 | 50 | //TODO Waiting for ModuleResultController refactoring |
| 51 | 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 | 53 | showLoadingProcess(false); |
| 54 | 54 | processingTree = true; |
| 55 | 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 | 2 | <h5><%= _"Metric results for: #{@module_result.module.name} (#{@module_result.module.granularity})" %> </h5> |
| 3 | 3 | |
| 4 | 4 | <hr/> | ... | ... |