1
0
Fork 0
forked from 0x2620/oxjs

fix colored tree list icons in doc panel

This commit is contained in:
rolux 2012-12-29 16:13:07 +01:00
commit fe32615c6b
2 changed files with 2 additions and 2 deletions

View file

@ -193,7 +193,7 @@ Ox.DocPanel = function(options, self) {
if (!Ox.isEmpty(self.options.results)) {
$icon = Ox.Theme.getColorImage(
'symbol' + (expanded === true ? 'Down' : expanded === false ? 'Right' : 'Center'),
!results ? 'none' : results.failed === 0 ? 'passed' : 'failed',
!results ? '' : results.failed === 0 ? 'passed' : 'failed',
self.options.showTooltips ? getTooltip(results) : null
);
} else if (!Ox.endsWith(id, '/')) {