diff options
author | Andrew Dolgov <[email protected]> | 2008-07-25 08:48:15 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-07-25 08:48:15 +0100 |
commit | fe5bfa004243bda049f10792fb232c6f3a60b84a (patch) | |
tree | f51198874ce5fcb984184d779d40582c451039f1 /prefs.js | |
parent | 9123c2efd67c6055db36ce1960045aa4dfa48417 (diff) |
UNDO: add quick unsubscribe button to prefs/feedlist
Diffstat (limited to 'prefs.js')
-rw-r--r-- | prefs.js | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -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)) { |