From 64a2875dcc6cb847ffdd43196bf27b5019e12419 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 24 May 2006 04:15:04 +0100 Subject: quick unsubscribe prompt shows feed name --- functions.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'functions.js') diff --git a/functions.js b/functions.js index e58a97036..f7e298888 100644 --- a/functions.js +++ b/functions.js @@ -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; + } +} -- cgit v1.2.3