From b56465dd56772efb80ef251d8d19f7177b244d57 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 23 Jan 2009 19:54:57 +0100 Subject: use popup feedbrowser for main UI (incomplete) --- tt-rss.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'tt-rss.js') 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"); + +} -- cgit v1.2.3-54-g00ecf