getfeedname: fix for non-numeric feeds (tags)

This commit is contained in:
Andrew Dolgov 2015-12-30 15:11:39 +03:00
parent 5eed9e2e18
commit 9842b51c71
1 changed files with 3 additions and 0 deletions

View File

@ -321,6 +321,9 @@ function hideOrShowFeeds(hide) {
} }
function getFeedName(feed, is_cat) { function getFeedName(feed, is_cat) {
if (isNaN(feed)) return feed; // it's a tag
var tree = dijit.byId("feedTree"); var tree = dijit.byId("feedTree");
if (tree && tree.model) if (tree && tree.model)