Skip to content

Commit

Permalink
Release XLT 5.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jowerner committed Dec 9, 2021
2 parents c1967ef + eba03df commit 54da5e7
Show file tree
Hide file tree
Showing 19 changed files with 490 additions and 313 deletions.
6 changes: 6 additions & 0 deletions NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,12 @@ neko-htmlunit
* Homepage: https://github.com/HtmlUnit/htmlunit-neko
* More information in folder: doc/3rd-party-licenses/neko-htmlunit

okhttp

* License: Apache License 2.0
* Homepage: https://github.com/square/okhttp
* More information in folder: doc/3rd-party-licenses/okhttp

pegdown

* License: Apache License 2.0
Expand Down
2 changes: 1 addition & 1 deletion ant-scripts/test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

</target>

<target name="test.compile" depends="test.init">
<target name="test.compile" depends="test.init, test.compile-hu">
<mkdir dir="${test.classes.dir}" />

<javac srcdir="${src.dir}/test/java" includeantruntime="no" destdir="${test.classes.dir}" debug="on" optimize="off" deprecation="on" encoding="utf8" source="1.8" target="1.8">
Expand Down
10 changes: 10 additions & 0 deletions config/testreport/js/jquery.superfish-1.7.10.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

257 changes: 0 additions & 257 deletions config/testreport/js/jquery.superfish-1.7.4.js

This file was deleted.

18 changes: 9 additions & 9 deletions config/testreport/js/xlt.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@

// propagate click to sort columns if available
$t_fixed.find('thead th').click(function() {
$this.find('thead th:eq('+ $t_fixed.find('thead th').index(this) + ')').click()
$this.find('thead th:eq('+ $t_fixed.find('thead th').index(this) + ')').click();
adjustClassnames();
});

// handle events for the filter input
$t_fixed.find('thead th input').click(function(event) {
$t_fixed.find('thead th input.filter').click(function(event) {
event.stopPropagation();
});
$this.on('finishedFilter', function() {
Expand Down Expand Up @@ -124,15 +124,15 @@
$t_fixed.css('left', ($this.offset().left - $(document).scrollLeft()) + 'px');
if (offset < tableOffsetTop || offset > tableOffsetBottom) {
$t_fixed.hide();
if ($t_fixed.find('thead th input:focus').length && offset < tableOffsetBottom) {
focusWithoutScrolling($this.find('thead th input'));
if ($t_fixed.find('thead th input.filter:focus').length && offset < tableOffsetBottom) {
focusWithoutScrolling($this.find('thead th input.filter'));
}
}
else if (offset >= tableOffsetTop && offset <= tableOffsetBottom && $t_fixed.is(":hidden")) {
$t_fixed.find('thead th input.filter').val($this.find('thead th input.filter').val());
$t_fixed.show();
if ($this.find('thead th input:focus').length) {
focusWithoutScrolling($t_fixed.find('thead th input'));
if ($this.find('thead th input.filter:focus').length) {
focusWithoutScrolling($t_fixed.find('thead th input.filter'));
}
adjustClassnames();
}
Expand Down Expand Up @@ -460,7 +460,7 @@
var filterFunc = function(value) { return doFilter(value, filterPhrase) };

// actually perform filtering a table by a filter phrase
var filterTable = function(table, filterPhrase) {
var filterTable = function(table) {
table.find("input.filter").each(function() {
Table.filter(this, { 'filter': filterFunc });
});
Expand Down Expand Up @@ -491,7 +491,7 @@
var footerVisible;

// let the table filter the rows
filterTable(table, filterPhrase);
filterTable(table);

// show the table footer only if no body rows have been filtered out
footerVisible = table.find('tbody tr:hidden').length == 0;
Expand All @@ -501,7 +501,7 @@
// now process any hidden table (Requests page only)
$('table:hidden').each(function() {
var $this = $(this);
filterTable($this, filterPhrase);
filterTable($this);
showTableFooter($this, footerVisible);
// set the current filter phrase as the filter input's value
$this.find('input.filter').val(filterPhrase);
Expand Down
2 changes: 1 addition & 1 deletion config/xsl/common/sections/head.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<script src="js/jquery-3.1.0.min.js" type="text/javascript">/* Placeholder */</script>
<script src="js/jquery.hoverIntent-1.8.0.min.js" type="text/javascript">/* Placeholder */</script>
<script src="js/jquery.scrollTo-2.1.3.min.js" type="text/javascript">/* Placeholder */</script>
<script src="js/jquery.superfish-1.7.4.js" type="text/javascript">/* Placeholder */</script>
<script src="js/jquery.superfish-1.7.10.min.js" type="text/javascript">/* Placeholder */</script>
<script src="js/tabs.js" type="text/javascript">/* Placeholder */</script>
<script type="text/javascript" src="js/table.js">/* Placeholder */</script>

Expand Down
Loading

0 comments on commit 54da5e7

Please sign in to comment.