prefs: enable selecting all feeds in a category

This commit is contained in:
Andrew Dolgov 2011-11-10 16:18:08 +04:00
parent bd4dfcae6e
commit 7c227bb372
2 changed files with 3 additions and 1 deletions

View File

@ -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,

View File

@ -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;