fix loading more headlines into wrong buffer
This commit is contained in:
parent
81f6a57256
commit
d36d86b9af
|
@ -13,6 +13,8 @@ function viewCategory(cat) {
|
|||
|
||||
function loadMoreHeadlines() {
|
||||
try {
|
||||
console.log("loadMoreHeadlines");
|
||||
|
||||
var offset = 0;
|
||||
|
||||
var view_mode = document.forms["main_toolbar_form"].view_mode.value;
|
||||
|
|
|
@ -82,7 +82,8 @@ function headlines_callback2(transport, offset, background) {
|
|||
initHeadlinesMenu();
|
||||
|
||||
} else {
|
||||
if (headlines_count > 0) {
|
||||
|
||||
if (headlines_count > 0 && feed_id == getActiveFeedId() && is_cat == activeFeedIsCat()) {
|
||||
console.log("adding some more headlines...");
|
||||
|
||||
var c = dijit.byId("headlines-frame");
|
||||
|
|
Loading…
Reference in New Issue