diff --git a/plugins/mezuro/public/javascripts/processing.js b/plugins/mezuro/public/javascripts/processing.js index b2ea343..2ca380a 100644 --- a/plugins/mezuro/public/javascripts/processing.js +++ b/plugins/mezuro/public/javascripts/processing.js @@ -19,7 +19,7 @@ function display_metric_history() { var metric_name = jQuery(this).attr('show-metric-history'); toggle_mezuro("." + metric_name); metricName = metric_name; - callAction('module', 'module_metrics_history', {module_id: module_id, module_result_id: module_result_id}, show_metrics); + callAction('module_result', 'metric_result_history', {metric_name: metric_name, module_result_id: module_result_id}, show_metrics); return false; } @@ -27,7 +27,7 @@ function display_metric_history() { function display_grade_history() { var module_name = jQuery(this).attr('data-module-name'); toggle_mezuro("#historical-grade"); - callAction('module', 'module_grade_history', {module_name: module_name}, show_grades); + callAction('module_result', 'module_result_history', {module_result_id: module_result_id}, show_grades); return false; } @@ -51,7 +51,7 @@ function reloadModule(){ var results_root_id = jQuery(this).attr('results_root_id'); showLoadingProcess(false); processingTree = true; - callAction('module_result', 'project_tree', {results_root_id: results_root_id }, showProjectTree); +// callAction('module_result', 'project_tree', {results_root_id: results_root_id }, showProjectTree); callAction('module_result', 'module_result', {results_root_id: results_root_id}, showModuleResult); return false; } @@ -67,7 +67,7 @@ function reloadProject(date){ showLoadingProcess(true); callAction('processing', 'processing', {date: date}, showProjectResult); - callAction('module_result', 'project_tree', {date: date}, showProjectTree); +// callAction('module_result', 'project_tree', {date: date}, showProjectTree); callAction('module_result', 'module_result', {date: date}, showModuleResult); } @@ -80,9 +80,9 @@ function showProcessingFor(state){ jQuery('#msg-time').html(''); jQuery('#processing-state').html('