summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-23 19:54:57 +0100
committerAndrew Dolgov <[email protected]>2009-01-23 19:54:57 +0100
commitb56465dd56772efb80ef251d8d19f7177b244d57 (patch)
tree39758bc5b593c82f5709c34d87e2c752bf118738 /tt-rss.js
parent273d1e293e63a27f28a4df7cd603d59d206907ef (diff)
use popup feedbrowser for main UI (incomplete)
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 2b6f7f822..ba7fbc64d 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -1422,3 +1422,31 @@ function addLabel() {
function visitOfficialSite() {
window.open("http://tt-rss.org/");
}
+
+function browseFeeds(limit) {
+
+ try {
+
+ var query = "backend.php?op=pref-feeds&subop=browse";
+
+ notify_progress("Loading, please wait...", true);
+
+ new Ajax.Request(query, {
+ onComplete: function(transport) {
+ infobox_callback2(transport);
+ } });
+
+ return false;
+ } catch (e) {
+ exception_error("browseFeeds", e);
+ }
+}
+
+function updateFeedBrowser() {
+ alert("FIXME");
+}
+
+function feedBrowserSubscribe() {
+ alert("FIXME");
+
+}