diff options
author | Andrew Dolgov <[email protected]> | 2006-01-12 14:42:00 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-01-12 14:42:00 +0100 |
commit | c09ec856aa4187f1dbed8d308f5ca657bc52e05d (patch) | |
tree | f322ffef7bc78e8b6347d232cc79d8d440a6d6cd /tt-rss.js | |
parent | ab1c2c9de5951a8b6c857708f12ec280db03575f (diff) |
rework actions
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -401,11 +401,17 @@ function init_second_stage() { } } -function quickMenuGo() { - +function quickMenuChange() { var chooser = document.getElementById("quickMenuChooser"); var opid = chooser[chooser.selectedIndex].id; + chooser.selectedIndex = 0; + quickMenuGo(opid); +} + +function quickMenuGo(opid) { + + if (opid == "qmcPrefs") { gotoPreferences(); } @@ -570,11 +576,13 @@ function qfdDelete(feed_id) { } -function allFeedsMenuGo() { +function allFeedsMenuChange() { var chooser = document.getElementById("allFeedsChooser"); var opname = chooser[chooser.selectedIndex].text; + chooser.selectedIndex = 0; + if (opname == "Update") { scheduleFeedUpdate(true); return; |