Skip to content

Commit 2234eb2

Browse files
committed
Merge pull request #99 from adangel:issue-86-violation-undefined
Only register click handler on real rows #99 * pr-99: Only register click handler on real rows
2 parents 67399e6 + 3ed1c09 commit 2234eb2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

History.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
## Fixed Issues
66

7+
* [#86](https://github.com/pmd/pmd-regression-tester/issues/86): Uncaught TypeError: violation is undefined
78
* [#93](https://github.com/pmd/pmd-regression-tester/issues/93): Line numbers > 1000 are not displayed correctly
89
* [#96](https://github.com/pmd/pmd-regression-tester/issues/96): Fix failing integration tests
910

resources/js/project-report.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ $(document).ready(function () {
118118
},
119119
});
120120

121-
$('#violationsTable tbody').on('click', 'tr', function() {
121+
$('#violationsTable tbody').on('click', 'tr[role=row]', function() {
122122
var tr = $(this).closest('tr');
123123
var row = table.row( tr );
124124

0 commit comments

Comments
 (0)