summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/functions.js b/functions.js
index 335ed61ec..e8bd6af33 100644
--- a/functions.js
+++ b/functions.js
@@ -277,8 +277,9 @@ function gotoMain() {
document.location.href = "tt-rss.php";
}
-function gotoExportOpml() {
- document.location.href = "opml.php?op=Export";
+function gotoExportOpml(filename, settings) {
+ tmp = settings ? 1 : 0;
+ document.location.href = "opml.php?op=Export&filename=" + filename + "&settings=" + tmp;
}