summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-07-30 23:38:03 -0700
committerAndrew Dolgov <[email protected]>2011-07-30 23:38:03 -0700
commit01664ee728bf99bbcddf51939b4914b29d6f47ae (patch)
treee376cbb0edf08499f7ff62c5f9355d98d9bc0c59 /functions.js
parente78477b4e213e31cd19f483039f3af182e9f1cef (diff)
parent08ae2a5ba6b69b574c891a7fb3f88cab5d55b66f (diff)
Merge pull request #10 from meyercr/master
Extend OPML preferences pane, to provide more control of Export OPML
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;
}