summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-20 15:53:41 +0100
committerAndrew Dolgov <[email protected]>2006-05-20 15:53:41 +0100
commit07eb9178463a08ae4aaad49ae53ea92909dfbfa4 (patch)
tree05f16e9201bb8284f2e2dbea53342baee61d7e76 /tt-rss.js
parent881033015adbb313e5a1a63521d2f8a0d1d580b1 (diff)
quick add feed dialog uses prototype
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js41
1 files changed, 0 insertions, 41 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 99afd7d6e..8c0726535 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -510,47 +510,6 @@ function quickMenuGo(opid) {
}
}
-function qafAdd() {
-
- if (!xmlhttp_ready(xmlhttp)) {
- printLockingError();
- return
- }
-
- var link = document.getElementById("qafInput");
-
- if (link.value.length == 0) {
- alert("Error: No feed URL given.");
- } else if (!isValidURL(link.value)) {
- alert("Error: Invalid feed URL.");
- } else {
- notify("Adding feed...");
-
- closeInfoBox();
-
- var cat = document.getElementById("qafCat");
- var cat_id = "";
-
- if (cat) {
- cat_id = cat[cat.selectedIndex].id;
- } else {
- cat_id = 0;
- }
-
- var feeds_doc = window.frames["feeds-frame"].document;
-
- feeds_doc.location.href = "backend.php?op=error&msg=Loading,%20please wait...";
-
- xmlhttp.open("GET", "backend.php?op=pref-feeds&quiet=1&subop=add&link=" +
- param_escape(link.value) + "&cid=" + param_escape(cat_id), true);
- xmlhttp.onreadystatechange=dlg_frefresh_callback;
- xmlhttp.send(null);
-
- link.value = "";
-
- }
-}
-
function qfdDelete(feed_id) {
notify("Removing feed...");