try {
+ loading_set_progress(30);
+
// this whole shebang is based on http://www.birnamdesigns.com/misc/busted2.html
if (arguments.callee.done) return;
debug("second stage ok");
+ loading_set_progress(60);
+
} catch (e) {
exception_error("init_second_stage", e);
}
if (keycode == 82) { // r
if (getActiveFeedId()) {
- viewfeed(getActiveFeedId(), "ForceUpdate");
- return false;
+ viewfeed(getActiveFeedId(), "ForceUpdate", activeFeedIsCat());
+ return;
}
}
if (keycode == 81 && shift_key) { // Q
if (typeof catchupAllFeeds != 'undefined') {
catchupAllFeeds();
- return false;
+ return;
}
}
if (keycode == 81) { // q
if (getActiveFeedId()) {
catchupCurrentFeed();
- return false;
+ return;
}
}
+ if (keycode == 220 && shift_key) { // shift + |
+ if (document.getElementById("subtoolbar_search")) {
+ if (Element.visible("subtoolbar_search")) {
+ Element.hide("subtoolbar_search");
+ Element.show("subtoolbar_ftitle");
+ setTimeout("Element.focus('subtoolbar_search_box')", 100);
+ } else {
+ Element.show("subtoolbar_search");
+ Element.hide("subtoolbar_ftitle");
+ }
+ }
+ }
}
/* Prefix f */