summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-09-11 13:05:08 +0300
committerAndrew Dolgov <[email protected]>2015-09-11 13:05:08 +0300
commitf48f292d2b9c3274aeb742c343df1d2f536a6a65 (patch)
treef442c7756edefd348fdc78e7c6c2fdd81dd9b490 /js
parent3857536f70057370810c70145cf8e54af5fdcd78 (diff)
tweak filter preview layout a bit; allow previewing matched articles in a popup
Diffstat (limited to 'js')
-rwxr-xr-xjs/functions.js7
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