diff options
author | Andrew Dolgov <[email protected]> | 2015-09-11 13:05:08 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-09-11 13:05:08 +0300 |
commit | f48f292d2b9c3274aeb742c343df1d2f536a6a65 (patch) | |
tree | f442c7756edefd348fdc78e7c6c2fdd81dd9b490 /js/functions.js | |
parent | 3857536f70057370810c70145cf8e54af5fdcd78 (diff) |
tweak filter preview layout a bit; allow previewing matched articles in a popup
Diffstat (limited to 'js/functions.js')
-rwxr-xr-x | js/functions.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/functions.js b/js/functions.js index 2e9e544a9..24e585847 100755 --- a/js/functions.js +++ b/js/functions.js @@ -2053,3 +2053,10 @@ function getSelectionText() { return text.stripTags(); } + +function openArticlePopup(id) { + window.open("backend.php?op=article&method=view&mode=raw&html=1&zoom=1&id=" + id + + "&csrf_token=" + getInitParam("csrf_token"), + "ttrss_article_popup", + "height=900,width=900,resizable=yes,status=no,location=no,menubar=no,directories=no,scrollbars=yes,toolbar=no"); +}
\ No newline at end of file |