make debug menu depend on capability; make sure info view doesn't throw errors for movies without H/S/L

This commit is contained in:
rolux 2011-10-14 19:25:29 +00:00
commit 72e831e5b2
3 changed files with 132 additions and 125 deletions

View file

@ -355,7 +355,7 @@ pandora.ui.infoView = function(data) {
$('<div>')
.css({marginBottom: '4px'})
.append(formatKey(key, true))
.append(Ox.formatColor(data[key], key))
.append(Ox.formatColor(data[key] || 0, key))
.appendTo($statistics);
});