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['bare_id'] = $feed_id;
|
||||||
$cat['name'] = $line['title'];
|
$cat['name'] = $line['title'];
|
||||||
$cat['items'] = array();
|
$cat['items'] = array();
|
||||||
|
$cat['checkbox'] = false;
|
||||||
$cat['type'] = 'category';
|
$cat['type'] = 'category';
|
||||||
|
|
||||||
$feed_result = db_query($link, "SELECT id, title, last_error,
|
$feed_result = db_query($link, "SELECT id, title, last_error,
|
||||||
|
|
1
prefs.js
1
prefs.js
|
@ -288,6 +288,7 @@ function getSelectedFeeds() {
|
||||||
var rv = [];
|
var rv = [];
|
||||||
|
|
||||||
items.each(function(item) {
|
items.each(function(item) {
|
||||||
|
if (item.id[0].match("FEED:"))
|
||||||
rv.push(tree.model.store.getValue(item, 'bare_id'));
|
rv.push(tree.model.store.getValue(item, 'bare_id'));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue