Commit 7410825bd14a9de18d8dce4cb8d821a2f623cc27
1 parent
b3bcb7b1
Exists in
master
and in
28 other branches
[Mezuro] update results.js
Showing
3 changed files
with
2 additions
and
3 deletions
Show diff stats
plugins/mezuro/lib/mezuro_plugin.rb
| ... | ... | @@ -17,7 +17,7 @@ class MezuroPlugin < Noosfero::Plugin |
| 17 | 17 | end |
| 18 | 18 | |
| 19 | 19 | def js_files |
| 20 | - ['javascripts/results.js', 'javascripts/toggle.js', 'javascripts/autoreload.js'] | |
| 20 | + ['javascripts/autoreload.js', 'javascripts/results.js', 'javascripts/toggle.js'] | |
| 21 | 21 | end |
| 22 | 22 | |
| 23 | 23 | end | ... | ... |
plugins/mezuro/lib/mezuro_plugin/project_content.rb
plugins/mezuro/public/javascripts/results.js
| ... | ... | @@ -6,7 +6,7 @@ function show_module_result(){ |
| 6 | 6 | var profile = jQuery('#module-result').attr('data-profile'); |
| 7 | 7 | var project = jQuery('#module-result').attr('data-project-id'); |
| 8 | 8 | var module_name = jQuery(this).attr('data-module-name'); |
| 9 | - var endpoint = '/profile/' + profile + '/plugins/mezuro/metrics/' + project; | |
| 9 | + var endpoint = '/profile/' + profile + '/plugins/mezuro/module_result/' + project; | |
| 10 | 10 | show_loading_message(module_name); |
| 11 | 11 | jQuery.get(endpoint, {module_name: module_name}, show_result_table); |
| 12 | 12 | return false; | ... | ... |