1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 03:15:56 +00:00

drop option ENABLE_SEARCH_TOOLBAR, use some more callbacks in filterCR

This commit is contained in:
Andrew Dolgov
2006-10-01 08:00:04 +01:00
parent 6e6504bc02
commit c91c224952
8 changed files with 37 additions and 20 deletions

View File

@@ -1223,6 +1223,14 @@ function qaddFilter() {
return
}
var form = document.forms['filter_add_form'];
var reg_exp = form.reg_exp.value;
if (reg_exp == "") {
alert("Can't add filter: nothing to match on.");
return false;
}
var query = Form.serialize("filter_add_form");
xmlhttp.open("GET", "backend.php?" + query, true);
@@ -1251,6 +1259,14 @@ function qafAdd() {
return
}
var form = document.forms['feed_add_form'];
var feed_url = form.feed_url.value;
if (feed_url == "") {
alert("Can't subscribe: no feed URL given.");
return false;
}
notify("Adding feed...", true);
closeInfoBox();