git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@832701 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2009-11-04 10:38:40 +00:00
parent 785532fdff
commit a455eef8eb
2 changed files with 6 additions and 1 deletions

View File

@ -31,12 +31,13 @@
<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>
</c:if>
<decorator:head />
</head>
<body onload="prettyPrint()">
<body>
<div class="white_box">

View File

@ -423,6 +423,10 @@ 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
}
addEvent(window, 'load', standardistaTableSortingInit)