1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 10:05:58 +00:00

feed archive and feed browser improvements

This commit is contained in:
Andrew Dolgov
2010-01-13 13:44:20 +03:00
parent a5819bb35d
commit ef88b1cca3
6 changed files with 255 additions and 61 deletions

View File

@@ -1470,39 +1470,6 @@ function visitOfficialSite() {
window.open("http://tt-rss.org/");
}
function feedBrowserSubscribe() {
try {
var selected = getSelectedFeedsFromBrowser();
var mode = document.forms['feed_browser'].mode;
mode = mode[mode.selectedIndex].value;
if (selected.length > 0) {
closeInfoBox();
notify_progress("Loading, please wait...", true);
var query = "?op=pref-feeds&subop=massSubscribe&ids="+
param_escape(selected.toString()) + "&mode=" + param_escape(mode);
new Ajax.Request("backend.php", {
parameters: query,
onComplete: function(transport) {
updateFeedList();
} });
} else {
alert(__("No feeds are selected."));
}
} catch (e) {
exception_error("feedBrowserSubscribe", e);
}
}
function inPreferences() {
return false;
}