From 41f68571abfb56992896d6bc9677a79284285290 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 28 Dec 2011 09:46:54 +0400 Subject: [PATCH] fix opml export --- classes/pref_feeds.php | 2 +- js/functions.js | 6 ------ js/prefs.js | 6 ++++++ 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index e2b12c99e..d326d2278 100644 --- a/classes/pref_feeds.php +++ b/classes/pref_feeds.php @@ -1452,7 +1452,7 @@ class Pref_Feeds extends Protected_Handler { name=\"data_upload_iframe\" onload=\"dataImportComplete(this)\" style=\"width: 400px; height: 100px; display: none;\">"; - print "
  diff --git a/js/functions.js b/js/functions.js index a1c393918..9b30bb302 100644 --- a/js/functions.js +++ b/js/functions.js @@ -296,12 +296,6 @@ function gotoMain() { document.location.href = "index.php"; } -function gotoExportOpml(filename, settings) { - tmp = settings ? 1 : 0; - document.location.href = "opml.php?op=Export&filename=" + filename + "&settings=" + tmp; -} - - /** * @(#)isNumeric.js * * Copyright (c) 2000 by Sundar Dorai-Raj * * @author Sundar Dorai-Raj * * Email: sdoraira@vt.edu diff --git a/js/prefs.js b/js/prefs.js index 0048e09df..ee3657e28 100644 --- a/js/prefs.js +++ b/js/prefs.js @@ -2064,4 +2064,10 @@ function dataImportComplete(iframe) { } } +function gotoExportOpml(filename, settings) { + tmp = settings ? 1 : 0; + document.location.href = "opml.php?op=Export&filename=" + filename + "&settings=" + tmp; +} + +