Commit 749d86666ce4cc1e8ecfe36f20a960e105d24f35
Committed by
Paulo Meireles
1 parent
6e9954dc
Exists in
master
and in
29 other branches
[mezuro] HTML page now talks with javascript about date. Controller verifies dat…
…e, but doesn't know date yet.
Showing
2 changed files
with
7 additions
and
1 deletions
Show diff stats
plugins/mezuro/public/javascripts/project_content.js
@@ -25,6 +25,12 @@ function reloadModule(){ | @@ -25,6 +25,12 @@ function reloadModule(){ | ||
25 | return false; | 25 | return false; |
26 | } | 26 | } |
27 | 27 | ||
28 | +function reloadProject(date){ | ||
29 | + callAction('project_result', {date: date}, showProjectResult); | ||
30 | + callAction('project_tree', {date: date}, showProjectTree); | ||
31 | + callAction('module_result', {date: date}, showModuleResult); | ||
32 | +} | ||
33 | + | ||
28 | function showProjectContentFor(state){ | 34 | function showProjectContentFor(state){ |
29 | if (state == 'ERROR') | 35 | if (state == 'ERROR') |
30 | callAction('project_error', {}, showProjectResult); | 36 | callAction('project_error', {}, showProjectResult); |
plugins/mezuro/views/content_viewer/_project_result.rhtml