1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 10:05:58 +00:00

UNDO: add quick unsubscribe button to prefs/feedlist

This commit is contained in:
Andrew Dolgov
2008-07-25 08:48:15 +01:00
parent 9123c2efd6
commit fe5bfa0042
3 changed files with 1 additions and 44 deletions

View File

@@ -508,7 +508,6 @@ function editFeed(feed) {
xmlhttp.onreadystatechange=infobox_callback;
xmlhttp.send(null);
return false;
}
function editFeedCat(cat) {
@@ -692,33 +691,6 @@ function removeSelectedFeeds() {
return false;
}
function removeFeed(id, title) {
if (!xmlhttp_ready(xmlhttp)) {
printLockingError();
return
}
if (id) {
var msg = __("Unsubscribe from %s?").replace("%s", title);
var ok = confirm(msg);
if (ok) {
notify_progress("Unsubscribing...");
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=remove&ids="+
param_escape(id), true);
xmlhttp.onreadystatechange=feedlist_callback;
xmlhttp.send(null);
}
}
return false;
}
function clearSelectedFeeds() {
if (!xmlhttp_ready(xmlhttp)) {