1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 22:35:55 +00:00

add function to open article summary in a popup window

This commit is contained in:
Andrew Dolgov
2008-09-05 08:36:57 +01:00
parent f200179d15
commit eedfb635dd
4 changed files with 60 additions and 8 deletions

View File

@@ -1892,3 +1892,14 @@ function invertHeadlineSelection() {
function getArticleUnderPointer() {
return post_under_pointer;
}
function zoomToArticle(id) {
try {
var w = window.open("backend.php?op=view&mode=zoom&id=" + param_escape(id),
"ttrss_zoom_" + id,
"status=0,toolbar=0,location=0,width=450,height=300,scrollbars=1,menubar=0");
} catch (e) {
exception_error("zoomToArticle", e);
}
}