disable headline buffer caching for now

This commit is contained in:
Andrew Dolgov 2010-12-28 08:49:21 +03:00
parent 09aa8995dc
commit ca7b020e0f
2 changed files with 5 additions and 5 deletions

View File

@ -140,7 +140,7 @@ function viewfeed(feed, subop, is_cat, offset) {
console.log(query);
var unread_ctr = -1;
/* var unread_ctr = -1;
if (!is_cat) unread_ctr = getFeedUnread(feed);
@ -170,7 +170,7 @@ function viewfeed(feed, subop, is_cat, offset) {
request_counters();
remove_splash();
} else {
} else { */
if (!is_cat) {
if (!setFeedExpandoIcon(feed, is_cat, 'images/indicator_white.gif'))
@ -185,7 +185,7 @@ function viewfeed(feed, subop, is_cat, offset) {
setFeedExpandoIcon(feed, is_cat, 'images/blank_icon.gif');
headlines_callback2(transport, page_offset);
} });
}
// }
} catch (e) {
exception_error("viewfeed", e);

View File

@ -93,7 +93,7 @@ function headlines_callback2(transport, feed_cur_page) {
initHeadlinesMenu();
var cache_prefix = "";
/* var cache_prefix = "";
if (is_cat) {
cache_prefix = "C:";
@ -106,7 +106,7 @@ function headlines_callback2(transport, feed_cur_page) {
if (!disable_cache) {
cache_inject(cache_prefix + feed_id,
$("headlines-frame").innerHTML, headlines_unread);
}
} */
} else {
console.warn("headlines_callback: returned no data");