1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 10:46:49 +00:00

add getContentContext() and vieContentUrl() functions"

This commit is contained in:
Andrew Dolgov
2006-08-30 12:33:07 +01:00
parent e688bab8ec
commit 0bd411db91

View File

@@ -1302,6 +1302,14 @@ function getFeedsContext() {
}
}
function getContentContext() {
try {
return getMainContext().frames["content-frame"];
} catch (e) {
exception_error("getContentContext", e);
}
}
function getHeadlinesContext() {
try {
@@ -1410,3 +1418,7 @@ function getFeedName(id, is_cat) {
return null;
}
}
function viewContentUrl(url) {
getContentContext().location = url;
}