mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Keep starred story tags selected on refresh.
This commit is contained in:
parent
a05589a5b7
commit
825bb5bddf
2 changed files with 2 additions and 1 deletions
|
@ -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() {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue