From c09ec856aa4187f1dbed8d308f5ca657bc52e05d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 12 Jan 2006 14:42:00 +0100 Subject: [PATCH] rework actions --- tt-rss.js | 14 +++++++++++--- tt-rss.php | 21 ++++++++++----------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/tt-rss.js b/tt-rss.js index 5603c01c..545d7915 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 f0203e55..821c9b10 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"> -
All feeds: +
- + - -
@@ -208,13 +207,14 @@ - Actions: + + + - - + + @@ -223,9 +223,8 @@ - + - -- 2.39.2