diff --git a/tt-rss.js b/tt-rss.js index 5603c01ce..545d7915d 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -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; diff --git a/tt-rss.php b/tt-rss.php index f0203e556..821c9b107 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -106,16 +106,15 @@ src="backend.php?op=error&msg=Loading,%20please wait..." id="feeds-frame" name="feeds-frame" class="feedsFrameWithActions"> -