From 9f311df6262c206a56f47a593244336e6ba1f54c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 2 Sep 2005 12:49:47 +0100 Subject: OPML import --- prefs.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'prefs.js') diff --git a/prefs.js b/prefs.js index b468a362a..e9a0e49df 100644 --- a/prefs.js +++ b/prefs.js @@ -297,6 +297,18 @@ function localPiggieFunction(enable) { } } +function validateOpmlImport() { + + var opml_file = document.getElementById("opml_file"); + + if (opml_file.value.length == 0) { + notify("Please select OPML file to upload."); + return false; + } else { + return true; + } +} + function init() { // IE kludge -- cgit v1.2.3