1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 10:45:55 +00:00

add action to reset category order

This commit is contained in:
Andrew Dolgov
2008-08-29 09:01:53 +01:00
parent 782ddd7014
commit 9d393c84da
6 changed files with 73 additions and 4 deletions

View File

@@ -601,6 +601,21 @@ function quickMenuGo(opid) {
resize_headlines();
}
if (opid == "qmcResetCats") {
if (confirm(__("Reset category order?"))) {
var query = "backend.php?op=feeds&subop=catsortreset";
notify_progress("Loading, please wait...", true);
new Ajax.Request(query, {
onComplete: function(transport) {
window.setTimeout('updateFeedList(false, false)', 50);
} });
}
}
} catch (e) {
exception_error("quickMenuGo", e);
}