Error fixes

This commit is contained in:
Alejandro Gallardo Escobar 2015-01-19 17:44:10 +01:00
parent 42ba99c038
commit 47de40a314
1 changed files with 3 additions and 2 deletions

View File

@ -66,7 +66,7 @@ TreeController = {
// Load leaf counters
function _processNodeCounters (container, counters, type) {
var hasCounters = false;
var hasCounters = true;
if (typeof counters != 'undefined') {
@ -412,7 +412,8 @@ TreeController = {
// Load the status counters
var hasCounters = _processNodeCounters($content, element.counters, element.type);
if (controller.shouldHaveCounters && !hasCounters)
if ((elementType == "group" || elementType == "tag")
&& (controller.shouldHaveCounters && !hasCounters))
return;
// If exist the detail container, show the data