mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 16:41:29 +00:00
null category fixes
This commit is contained in:
@@ -207,7 +207,7 @@ function updateFeedList(silent, fetch) {
|
|||||||
query_str = query_str + "&tags=1";
|
query_str = query_str + "&tags=1";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getActiveFeedId()) {
|
if (getActiveFeedId() != undefined) {
|
||||||
query_str = query_str + "&actid=" + getActiveFeedId();
|
query_str = query_str + "&actid=" + getActiveFeedId();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -241,11 +241,12 @@ function catchupAllFeeds() {
|
|||||||
|
|
||||||
function viewCurrentFeed(subop) {
|
function viewCurrentFeed(subop) {
|
||||||
|
|
||||||
if (getActiveFeedId()) {
|
// if (getActiveFeedId()) {
|
||||||
|
if (getActiveFeedId() != undefined) {
|
||||||
viewfeed(getActiveFeedId(), subop);
|
viewfeed(getActiveFeedId(), subop);
|
||||||
} else {
|
} else {
|
||||||
disableContainerChildren("headlinesToolbar", false, document);
|
disableContainerChildren("headlinesToolbar", false, document);
|
||||||
viewfeed(-1, subop); // FIXME
|
// viewfeed(-1, subop); // FIXME
|
||||||
}
|
}
|
||||||
return false; // block unneeded form submits
|
return false; // block unneeded form submits
|
||||||
}
|
}
|
||||||
@@ -446,7 +447,7 @@ function quickMenuGo(opid) {
|
|||||||
if (opid == "qmcRemoveFeed") {
|
if (opid == "qmcRemoveFeed") {
|
||||||
var actid = getActiveFeedId();
|
var actid = getActiveFeedId();
|
||||||
|
|
||||||
if (!actid) {
|
if (actid == undefined) {
|
||||||
alert("Please select some feed first.");
|
alert("Please select some feed first.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user