summaryrefslogtreecommitdiff
path: root/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-02 12:49:47 +0100
committerAndrew Dolgov <[email protected]>2005-09-02 12:49:47 +0100
commit9f311df6262c206a56f47a593244336e6ba1f54c (patch)
treeab372a700677cc59b7d780e6e0b35cf3e7ad95be /prefs.js
parent9a4506c87de04bcde0d6da3da7c289f58d69312b (diff)
OPML import
Diffstat (limited to 'prefs.js')
-rw-r--r--prefs.js12
1 files changed, 12 insertions, 0 deletions
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