summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-10-28 07:51:34 +0100
committerAndrew Dolgov <[email protected]>2005-10-28 07:51:34 +0100
commit033e47e09b44151c785636005cbe744c25f96d0e (patch)
tree18042557eb016636613f938192bb98f063264ceb /tt-rss.js
parentaee198609ddd8fad1b8240c38ef89df3c99e095d (diff)
extended search dialog placeholder, disabled for now
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 637895dc9..bbd7b6955 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -201,6 +201,9 @@ function viewCurrentFeed(skip, subop) {
if (getActiveFeedId()) {
viewfeed(getActiveFeedId(), skip, subop);
+ } else {
+ disableContainerChildren("headlinesToolbar", false, document);
+ viewfeed(-1, skip, subop); // FIXME
}
}
@@ -428,10 +431,15 @@ function quickMenuGo() {
var opname = chooser[chooser.selectedIndex].text;
- if (opname.match("Preferences")) {
+ if (opname == "Preferences") {
gotoPreferences();
}
+ if (opname == "Extended search") {
+ displayDlg("search");
+ return;
+ }
+
if (opname.match("Add new feed")) {
displayDlg("quickAddFeed");
return;
@@ -448,7 +456,6 @@ function quickMenuGo() {
displayDlg("quickDelFeed", actid);
return;
}
-
}
function qafAdd() {
@@ -505,5 +512,6 @@ function qfdDelete(feed_id) {
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=remove&ids=" + feed_id);
xmlhttp.onreadystatechange=dlg_frefresh_callback;
xmlhttp.send(null);
-
}
+
+