mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
inline feed editor, yay!
This commit is contained in:
@@ -236,17 +236,19 @@ function feedEditCancel() {
|
||||
|
||||
}
|
||||
|
||||
function feedEditSave(feed) {
|
||||
function feedEditSave() {
|
||||
|
||||
var feed = active_feed;
|
||||
|
||||
if (!xmlhttp_ready(xmlhttp)) {
|
||||
printLockingError();
|
||||
return
|
||||
}
|
||||
|
||||
notify("Saving feed.");
|
||||
var link = document.getElementById("iedit_link").value;
|
||||
var title = document.getElementById("iedit_title").value;
|
||||
|
||||
var link = document.getElementById("fedit_link").value;
|
||||
var title = document.getElementById("fedit_title").value;
|
||||
// notify("Saving feed.");
|
||||
|
||||
if (link.length == 0) {
|
||||
notify("Feed link cannot be blank.");
|
||||
@@ -258,6 +260,8 @@ function feedEditSave(feed) {
|
||||
return;
|
||||
}
|
||||
|
||||
active_feed = false;
|
||||
|
||||
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=editSave&id=" +
|
||||
feed + "&l=" + param_escape(link) + "&t=" + param_escape(title) ,true);
|
||||
xmlhttp.onreadystatechange=feedlist_callback;
|
||||
|
||||
Reference in New Issue
Block a user