Skip to content

Commit 79a9867

Browse files
authored
Test results summary: fix JavaScript console error when 'showLink' HTML element is missing (#514)
1 parent 353d6f7 commit 79a9867

File tree

1 file changed

+1
-2
lines changed
  • src/main/resources/hudson/tasks/test/AbstractTestResultAction

1 file changed

+1
-2
lines changed

src/main/resources/hudson/tasks/test/AbstractTestResultAction/summary.jelly

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ THE SOFTWARE.
2626
<?jelly escape-by-default='true'?>
2727
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:test="/lib/hudson/test" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
2828

29-
<st:adjunct includes="hudson.tasks.test.AbstractTestResultAction.show-failures" />
30-
3129
<!-- summary -->
3230
<t:summary icon="clipboard.png">
3331
<a href="${it.urlName}/">${it.displayName}</a>
@@ -64,6 +62,7 @@ THE SOFTWARE.
6462

6563
<!-- Show failures link -->
6664
<j:if test="${displayedCount &lt; failedTests.size() }">
65+
<st:adjunct includes="hudson.tasks.test.AbstractTestResultAction.show-failures" />
6766
<a id="showLink" name="editFailuresLink"
6867
href="#showFailuresLink">${%Show all failed tests} ${">>>"}</a>
6968
</j:if>

0 commit comments

Comments
 (0)