summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-16 06:16:43 +0100
committerAndrew Dolgov <[email protected]>2005-11-16 06:16:43 +0100
commitcbe45fa8ec322f9b95bbe89e19c9fbd81386e3a2 (patch)
tree65eb3f1da2d3576e3a0d3928caca869f4432af2a /tt-rss.js
parent7a991cac30acd4cbf4cca474765250b186d5fde7 (diff)
actions menu changes
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 1e8b2454c..830bf0744 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -438,25 +438,25 @@ function init() {
}
function quickMenuGo() {
- var chooser = document.getElementById("quickMenuChooser");
- var opname = chooser[chooser.selectedIndex].text;
+ var chooser = document.getElementById("quickMenuChooser");
+ var opid = chooser[chooser.selectedIndex].id;
- if (opname == "Preferences") {
+ if (opid == "qmcPrefs") {
gotoPreferences();
}
- if (opname == "Extended search") {
+ if (opid == "qmcAdvSearch") {
displayDlg("search");
return;
}
- if (opname.match("Add new feed")) {
+ if (opid == "qmcAddFeed") {
displayDlg("quickAddFeed");
return;
}
- if (opname.match("Remove this feed")) {
+ if (opid == "qmcRemoveFeed") {
var actid = getActiveFeedId();
if (!actid) {
@@ -468,17 +468,17 @@ function quickMenuGo() {
return;
}
- if (opname.match("Update")) {
+ if (opid == "qmcUpdateFeeds") {
scheduleFeedUpdate(true);
return;
}
- if (opname.match("Mark as read")) {
+ if (opid == "qmcCatchupAll") {
catchupAllFeeds();
return;
}
- if (opname.match("Toggle display read")) {
+ if (opid == "qmcShowOnlyUnread") {
toggleDispRead();
return;
}
@@ -557,7 +557,7 @@ function allFeedsMenuGo() {
return;
}
- if (opname == "Toggle display read") {
+ if (opname == "Show only read") {
toggleDispRead();
return;
}