1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 05:55:55 +00:00

rework actions

This commit is contained in:
Andrew Dolgov
2006-01-12 14:42:00 +01:00
parent ab1c2c9de5
commit c09ec856aa
2 changed files with 21 additions and 14 deletions

View File

@@ -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;