1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-22 10:11:29 +00:00

remove obsolete get*Context functions

This commit is contained in:
Andrew Dolgov
2008-05-20 13:12:48 +01:00
parent 61a20560f2
commit 5fc13f63cf

View File

@@ -1333,22 +1333,6 @@ function filterCR(e, f)
} }
} }
function getMainContext() {
return this.window;
}
function getFeedsContext() {
return this.window;
}
function getContentContext() {
return this.window;
}
function getHeadlinesContext() {
return this.window;
}
var debug_last_class = "even"; var debug_last_class = "even";
function debug(msg) { function debug(msg) {
@@ -1406,14 +1390,12 @@ function fatalError(code, message) {
} }
function getFeedName(id, is_cat) { function getFeedName(id, is_cat) {
var d = getFeedsContext().document;
var e; var e;
if (is_cat) { if (is_cat) {
e = d.getElementById("FCATN-" + id); e = document.getElementById("FCATN-" + id);
} else { } else {
e = d.getElementById("FEEDN-" + id); e = document.getElementById("FEEDN-" + id);
} }
if (e) { if (e) {
return e.innerHTML.stripTags(); return e.innerHTML.stripTags();
@@ -1422,10 +1404,6 @@ function getFeedName(id, is_cat) {
} }
} }
function viewContentUrl(url) {
getContentContext().location = url;
}
function filterDlgCheckAction(sender) { function filterDlgCheckAction(sender) {
try { try {