From 350468d01896f344c815e472a8b3c3a1de726ec7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 24 Jan 2009 07:11:42 +0100 Subject: prefs: some async work --- functions.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'functions.js') diff --git a/functions.js b/functions.js index ca94dd93d..229303c42 100644 --- a/functions.js +++ b/functions.js @@ -2086,4 +2086,23 @@ function updateFeedBrowser() { } } +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); + } +} + -- cgit v1.2.3