Skip to content

Commit

Permalink
Fix news models
Browse files Browse the repository at this point in the history
  • Loading branch information
arestov committed Oct 18, 2017
1 parent c72bd47 commit b233bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion js/initAPIs.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ function domPart(su, app_serv){
if (!data) {
return;
}
pv.update(su.start_page.getNesting('news'), 'news_list', StartPage.AppNews.converNews(data));
pv.update(su, 'news_list', StartPage.AppNews.converNews(data));
});
});
queue.add(function() {
Expand Down
1 change: 1 addition & 0 deletions js/models/StartPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ var converNews = function(list) {

var AppNews = spv.inh(BrowseMap.Model, {}, {
model_name: 'app_news',
'compx-news_list': [['#news_list']],
});
AppNews.converNews = converNews;

Expand Down

0 comments on commit b233bfd

Please sign in to comment.