Commit 8663b036a777326ccb7f2a7a1be6f84d204e5d57
1 parent
aa3940f5
Exists in
master
and in
5 other branches
Adicionando exibicao de todos os programas
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
js/main.js
| @@ -263,8 +263,9 @@ define(['handlebars', 'fastclick', 'handlebars_helpers'], function(Handlebars, F | @@ -263,8 +263,9 @@ define(['handlebars', 'fastclick', 'handlebars_helpers'], function(Handlebars, F | ||
| 263 | $('nav').show(); | 263 | $('nav').show(); |
| 264 | }, | 264 | }, |
| 265 | display_proposals_tab: function(){ | 265 | display_proposals_tab: function(){ |
| 266 | - $('#proposal-categories').hide(); | ||
| 267 | - this.randomProposalByTheme(['category-saude', 'category-seguranca-publica', 'category-educacao', 'category-reducao-da-pobreza']); | 266 | + // $('#proposal-categories').hide(); |
| 267 | + // this.randomProposalByTheme(['category-saude', 'category-seguranca-publica', 'category-educacao', 'category-reducao-da-pobreza']); | ||
| 268 | + $('.proposal-item').show(); /* Show all programs */ | ||
| 268 | $('#proposal-group').show(); | 269 | $('#proposal-group').show(); |
| 269 | $('#nav-proposal-group a').addClass('active'); | 270 | $('#nav-proposal-group a').addClass('active'); |
| 270 | $('#nav-proposal-categories a').removeClass('active'); | 271 | $('#nav-proposal-categories a').removeClass('active'); |