mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2410 - fixing js errors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906416 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1e8acfadb2
commit
3253a421c1
|
@ -31,7 +31,7 @@
|
|||
<script type='text/javascript' src='<c:url value="/js/css.js"/>'></script>
|
||||
<script type='text/javascript' src='<c:url value="/js/standardista-table-sorting.js"/>'></script>
|
||||
<script type='text/javascript' src='<c:url value="/js/prettify.js"/>'></script>
|
||||
<script>addEvent(window, 'load', prettyPrint)</script>
|
||||
<script>addEvent(window, 'load', function (event) { prettyPrint() })</script>
|
||||
</c:if>
|
||||
|
||||
<decorator:head />
|
||||
|
|
|
@ -423,10 +423,12 @@ var standardistaTableSorting = {
|
|||
|
||||
function standardistaTableSortingInit() {
|
||||
standardistaTableSorting.init();
|
||||
var e = {};
|
||||
var obj = document.getElementsByTagName("TH")[0].firstChild; // 0 points to the first column, use 3 if you want to sort on the 4th column
|
||||
e.target = obj;
|
||||
standardistaTableSorting.headingClicked(e); // will sort Ascending
|
||||
if (document.getElementsByTagName("TH")[0] != null) {
|
||||
var e = {};
|
||||
var obj = document.getElementsByTagName("TH")[0].firstChild; // 0 points to the first column, use 3 if you want to sort on the 4th column
|
||||
e.target = obj;
|
||||
standardistaTableSorting.headingClicked(e); // will sort Ascending
|
||||
}
|
||||
}
|
||||
|
||||
addEvent(window, 'load', standardistaTableSortingInit)
|
Loading…
Reference in New Issue