From 2687a750ab1ee2c4fc40970e2815bf0355855507 Mon Sep 17 00:00:00 2001 From: Carlos Morais + Paulo Meirelles Date: Thu, 12 Apr 2012 15:25:58 -0300 Subject: [PATCH] [mezuro] Call controller with correct module name --- plugins/mezuro/public/javascripts/project_content.js | 3 ++- plugins/mezuro/views/content_viewer/show_project.rhtml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/mezuro/public/javascripts/project_content.js b/plugins/mezuro/public/javascripts/project_content.js index 6fcae14..bfb22c1 100644 --- a/plugins/mezuro/public/javascripts/project_content.js +++ b/plugins/mezuro/public/javascripts/project_content.js @@ -31,7 +31,8 @@ function showProjectContentFor(state){ else if (state == 'READY') { callAction('project_result', {}, showProjectResult); callAction('project_tree', {}, showProjectTree); - callAction('module_result', {}, showModuleResult); + var project_name = jQuery("#project-result").attr('data-project-name'); + callAction('module_result', {module_name: project_name}, showModuleResult); } else if (state.endsWith("ING")) showProjectContentAfter(20); diff --git a/plugins/mezuro/views/content_viewer/show_project.rhtml b/plugins/mezuro/views/content_viewer/show_project.rhtml index bfd4cc6..89f3e46 100644 --- a/plugins/mezuro/views/content_viewer/show_project.rhtml +++ b/plugins/mezuro/views/content_viewer/show_project.rhtml @@ -30,7 +30,8 @@
-
+
-- libgit2 0.21.2