prefs: enable selecting all feeds in a category
This commit is contained in:
parent
bd4dfcae6e
commit
7c227bb372
2 changed files with 3 additions and 1 deletions
|
@ -57,6 +57,7 @@
|
|||
$cat['bare_id'] = $feed_id;
|
||||
$cat['name'] = $line['title'];
|
||||
$cat['items'] = array();
|
||||
$cat['checkbox'] = false;
|
||||
$cat['type'] = 'category';
|
||||
|
||||
$feed_result = db_query($link, "SELECT id, title, last_error,
|
||||
|
|
3
prefs.js
3
prefs.js
|
@ -288,7 +288,8 @@ function getSelectedFeeds() {
|
|||
var rv = [];
|
||||
|
||||
items.each(function(item) {
|
||||
rv.push(tree.model.store.getValue(item, 'bare_id'));
|
||||
if (item.id[0].match("FEED:"))
|
||||
rv.push(tree.model.store.getValue(item, 'bare_id'));
|
||||
});
|
||||
|
||||
return rv;
|
||||
|
|
Loading…
Reference in a new issue