summaryrefslogtreecommitdiff
path: root/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-07-25 08:48:15 +0100
committerAndrew Dolgov <[email protected]>2008-07-25 08:48:15 +0100
commitfe5bfa004243bda049f10792fb232c6f3a60b84a (patch)
treef51198874ce5fcb984184d779d40582c451039f1 /prefs.js
parent9123c2efd67c6055db36ce1960045aa4dfa48417 (diff)
UNDO: add quick unsubscribe button to prefs/feedlist
Diffstat (limited to 'prefs.js')
-rw-r--r--prefs.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/prefs.js b/prefs.js
index dd80aee4d..c405a4f19 100644
--- a/prefs.js
+++ b/prefs.js
@@ -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)) {