|
|
|
@ -508,6 +508,7 @@ function editFeed(feed) {
|
|
|
|
|
xmlhttp.onreadystatechange=infobox_callback;
|
|
|
|
|
xmlhttp.send(null);
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function editFeedCat(cat) {
|
|
|
|
@ -691,6 +692,33 @@ 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)) {
|
|
|
|
|