From d17ae011c6dff66a729f5a85f0015f02d6373a47 Mon Sep 17 00:00:00 2001 From: Diego Araújo + Alessandro Palmeira + Rafael Manzo Date: Wed, 26 Dec 2012 17:41:12 -0200 Subject: [PATCH] [Mezuro] Fixed source tree renderization --- plugins/mezuro/public/javascripts/processing.js | 2 +- plugins/mezuro/views/mezuro_plugin_module_result/_module_result.rhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mezuro/public/javascripts/processing.js b/plugins/mezuro/public/javascripts/processing.js index 22efb84..42d19f1 100644 --- a/plugins/mezuro/public/javascripts/processing.js +++ b/plugins/mezuro/public/javascripts/processing.js @@ -49,7 +49,7 @@ function toggle_mezuro(element){ //TODO Waiting for ModuleResultController refactoring function reloadModule(){ - var module_result_id = jQuery(this).attr('module_result_id'); + var module_result_id = jQuery(this).attr('data-module-id'); showLoadingProcess(false); processingTree = true; // callAction('module_result', 'project_tree', {results_root_id: results_root_id }, showProjectTree); diff --git a/plugins/mezuro/views/mezuro_plugin_module_result/_module_result.rhtml b/plugins/mezuro/views/mezuro_plugin_module_result/_module_result.rhtml index 3fd3cf4..d5d3cb1 100644 --- a/plugins/mezuro/views/mezuro_plugin_module_result/_module_result.rhtml +++ b/plugins/mezuro/views/mezuro_plugin_module_result/_module_result.rhtml @@ -1,4 +1,4 @@ -<% render :partial => "source_tree", :locals => {:module_result => @module_result} %> +<%= render :partial => "source_tree", :locals => {:module_result => @module_result} %>
<%= _"Metric results for: #{@module_result.module.name} (#{@module_result.module.granularity})" %>

-- libgit2 0.21.2