Keep starred story tags selected on refresh.

This commit is contained in:
Samuel Clay 2013-09-09 15:03:46 -07:00
parent a05589a5b7
commit 825bb5bddf
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@ NEWSBLUR.Models.StarredFeed = Backbone.Model.extend({
initialize: function() {
this.set('feed_title', this.get('tag'));
this.views = [];
this.id = 'starred:' + this.get('tag');
},
is_social: function() {

View file

@ -1498,7 +1498,7 @@
}
}
if (options.tag) {
this.active_feed = 'starred:' + options.tag;
this.active_feed = options.model.id;
this.flags['starred_tag'] = options.model.get('tag');
options.model.set('selected', true);
} else {