Subject: | clicking on test result does nothing |
Date: | Fri, 11 Sep 2009 13:27:11 +0200 |
To: | bug-TAP-Formatter-HTML [...] rt.cpan.org |
From: | Tim Esselens <tim.esselens [...] gmail.com> |
Nothing happens when I click on the test output.
It should have scrolled to the test and highlighted it in yellow.
The following patch fixes the issue:
--- default_report.js.orig 2009-09-11 13:22:58.693875003 +0200
+++ default_report.js 2009-09-11 13:23:06.416891140 +0200
@@ -32,7 +32,7 @@
// highlight a particular test?
var testId = $(this).attr("href");
- if (!testId) {
+ if (testId) {
var $testElem = $detail.find(testId);
$testElem.show().scrollTo(1000);
var bgColor = $testElem.css("background-color");
--
kind regards,
Tim Esselens