if (getActiveFeedId()) {
viewfeed(getActiveFeedId(), skip, subop);
+ } else {
+ disableContainerChildren("headlinesToolbar", false, document);
+ viewfeed(-1, skip, subop); // FIXME
}
}
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;
displayDlg("quickDelFeed", actid);
return;
}
-
}
function qafAdd() {
xmlhttp.open("GET", "backend.php?op=pref-feeds&subop=remove&ids=" + feed_id);
xmlhttp.onreadystatechange=dlg_frefresh_callback;
xmlhttp.send(null);
-
}
+
+