X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster%2FHTML.pm;h=0ac0c88b6fe17667139cd11983aaf8c751a84985;hb=31f5eb0195bddf2b398394c1b0995ba68a71fbc2;hp=a4c6da16782fa8004baa9288daba83271f4a72bf;hpb=12dd93409640fb5d6af1a64ec9e3c492188de7cb;p=plack-app-gruntmaster.git diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index a4c6da1..0ac0c88 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -214,6 +214,7 @@ sub process_log_entry { $tr->fclass('result_text')->attr(class => "r$data->{result}") }; $args{results} ? $tree->fid('results')->find('tbody')->find('tr')->iter3($args{results}, $iter) : $tree->fid('results')->detach; + $tree->fid('no_results')->detach if $tree->fid('results') || $tree->fid('errors'); } sub process_log {