mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:45:55 +00:00
update schema, more mysql work
This commit is contained in:
19
tt-rss.js
19
tt-rss.js
@@ -58,17 +58,19 @@ function feedlist_callback() {
|
||||
}
|
||||
*/
|
||||
|
||||
function checkActiveFeedId() {
|
||||
|
||||
var actfeedid = frames["feeds-frame"].document.getElementById("ACTFEEDID");
|
||||
|
||||
if (actfeedid) {
|
||||
active_feed_id = actfeedid.innerHTML;
|
||||
}
|
||||
}
|
||||
|
||||
function refetch_callback() {
|
||||
|
||||
if (xmlhttp_rpc.readyState == 4) {
|
||||
|
||||
var actfeedid = frames["feeds-frame"].document.getElementById("ACTFEEDID");
|
||||
|
||||
if (actfeedid) {
|
||||
active_feed_id = actfeedid.innerHTML;
|
||||
}
|
||||
|
||||
document.title = "Tiny Tiny RSS";
|
||||
notify("All feeds updated.");
|
||||
|
||||
@@ -253,6 +255,7 @@ function resetSearch() {
|
||||
}
|
||||
|
||||
function search() {
|
||||
checkActiveFeedId();
|
||||
if (active_feed_id) {
|
||||
viewfeed(active_feed_id, 0, "");
|
||||
} else {
|
||||
@@ -315,9 +318,9 @@ function init() {
|
||||
|
||||
updateFeedList(false, false);
|
||||
document.onkeydown = hotkey_handler;
|
||||
setTimeout("timeout()", 1800*1000);
|
||||
|
||||
scheduleFeedUpdate(true);
|
||||
// setTimeout("timeout()", 1800*1000);
|
||||
// scheduleFeedUpdate(true);
|
||||
|
||||
var content = document.getElementById("content");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user