Commit bfe55e1acbd27db72c69781cf7c8de7ec12d6c5f

Authored by Victor Costa
1 parent 70bc2f2b

Fix events

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
@@ -731,7 +731,7 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers @@ -731,7 +731,7 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers
731 // FIXME fix api and remove this 731 // FIXME fix api and remove this
732 var article;//data.articles[0]; 732 var article;//data.articles[0];
733 for(var i=0; i<data.articles.length; i++) { 733 for(var i=0; i<data.articles.length; i++) {
734 - if($.grep(data.articles[i].categorues, function(e){ return e.id == cat_id; }).length>0) { 734 + if($.grep(data.articles[i].categories, function(e){ return e.id == cat_id; }).length>0) {
735 article = data.articles[i]; 735 article = data.articles[i];
736 } 736 }
737 } 737 }