1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

some initial feed-linking work

This commit is contained in:
Andrew Dolgov
2005-12-28 20:17:26 +01:00
parent de99f5005d
commit 1da7e457d8
3 changed files with 58 additions and 16 deletions
+4 -13
View File
@@ -677,18 +677,9 @@ function feedEditSave() {
var fcat = document.getElementById("iedit_fcat");
var fcat_id = fcat[fcat.selectedIndex].id;
// notify("Saving feed.");
/* if (upd_intl < 0) {
notify("Update interval must be &gt;= 0 (0 = default)");
return;
}
if (purge_intl < 0) {
notify("Purge days must be &gt;= 0 (0 = default)");
return;
} */
var pfeed = document.getElementById("iedit_parent_feed");
var parent_feed_id = pfeed[pfeed.selectedIndex].id;
if (link.length == 0) {
notify("Feed link cannot be blank.");
@@ -711,7 +702,7 @@ function feedEditSave() {
feed + "&l=" + param_escape(link) + "&t=" + param_escape(title) +
"&ui=" + param_escape(upd_intl) + "&pi=" + param_escape(purge_intl) +
"&catid=" + param_escape(fcat_id) + "&login=" + param_escape(auth_login) +
"&pass=" + param_escape(auth_pass);
"&pfeed=" + param_escape(parent_feed_id) + "&pass=" + param_escape(auth_pass);
xmlhttp.open("POST", "backend.php", true);
xmlhttp.onreadystatechange=feedlist_callback;