summaryrefslogtreecommitdiff
path: root/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-22 04:20:00 +0100
committerAndrew Dolgov <[email protected]>2005-08-22 04:20:00 +0100
commit71ad39598b4de8e481f03e4843ffc40a6ba56469 (patch)
treeae5516330ec6005ced69205bfc6866429481aa7e /prefs.js
parent007bda3585c5ae865b370eae6ee5f4e2d3cc9cf2 (diff)
basic functionality pass 8
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 03cdd4acc..46679b7de 100644
--- a/prefs.js
+++ b/prefs.js
@@ -77,6 +77,18 @@ function toggleSelectRow(sender) {
}
}
+function addFeed() {
+
+ var link = document.getElementById("fadd_link").value;
+ var title = document.getElementById("fadd_title").value;
+
+ if (link.length == 0 || title.length == 0) {
+ notify("Error: all fields must be filled in.");
+ } else {
+ notify("addFeed : " + link + ", " + title);
+ }
+
+}
function init() {