1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 17:35:57 +00:00

refactor qaddFeed, addFilter

This commit is contained in:
Andrew Dolgov
2007-08-25 13:16:26 +01:00
parent 288487e429
commit 18ab3d7ae1
2 changed files with 8 additions and 8 deletions

View File

@@ -1347,7 +1347,7 @@ function infobox_callback2(transport) {
}
}
function addFilter() {
function createFilter() {
var form = document.forms['filter_add_form'];
var reg_exp = form.reg_exp.value;
@@ -1379,7 +1379,7 @@ function isValidURL(s) {
return s.match("http://") != null || s.match("https://") != null || s.match("feed://") != null;
}
function qaddFeed() {
function subscribeToFeed() {
var form = document.forms['feed_add_form'];
var feed_url = form.feed_url.value;