diff options
author | Andrew Dolgov <[email protected]> | 2008-08-29 09:01:53 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-08-29 09:01:53 +0100 |
commit | 9d393c84da965ebdcdaba26491ad0649c273af18 (patch) | |
tree | 7d004e4fbdbea3dcba1839d41f8f50c5a6ce4441 /tt-rss.js | |
parent | 782ddd701480eb36767d94a1549f956c2ab8cc35 (diff) |
add action to reset category order
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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); } |