quick unsubscribe prompt shows feed name

master
Andrew Dolgov 19 years ago
parent 39541e74b2
commit 64a2875dcc

@ -1181,4 +1181,12 @@ function fatalError(code, message) {
} }
} }
function getFeedName(id) {
var d = getFeedsContext().document;
var e = d.getElementById("FEEDN-" + id);
if (e) {
return e.innerHTML.stripTags();
} else {
return null;
}
}

@ -437,7 +437,9 @@ function quickMenuGo(opid) {
return; return;
} }
if (confirm("Unsubscribe from current feed?")) { var fn = getFeedName(actid);
if (confirm("Unsubscribe from " + fn + "?")) {
qfdDelete(actid); qfdDelete(actid);
} }

Loading…
Cancel
Save