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

per-feed update intervals

This commit is contained in:
Andrew Dolgov
2005-10-13 04:15:09 +01:00
parent 1cae701741
commit d148926e2b
7 changed files with 48 additions and 10 deletions

View File

@@ -454,9 +454,16 @@ function feedEditSave() {
var link = document.getElementById("iedit_link").value;
var title = document.getElementById("iedit_title").value;
var upd_intl = document.getElementById("iedit_updintl").value;
// notify("Saving feed.");
if (upd_intl < 0) {
notify("Update interval must be &gt;= 0 (0 = default)");
return;
}
if (link.length == 0) {
notify("Feed link cannot be blank.");
return;
@@ -470,7 +477,8 @@ function feedEditSave() {
active_feed = false;
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=editSave&id=" +
feed + "&l=" + param_escape(link) + "&t=" + param_escape(title) ,true);
feed + "&l=" + param_escape(link) + "&t=" + param_escape(title) +
"&ui=" + param_escape(upd_intl), true);
xmlhttp.onreadystatechange=feedlist_callback;
xmlhttp.send(null);