mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2410 - web console sorting
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@832701 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
785532fdff
commit
a455eef8eb
|
@ -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/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/standardista-table-sorting.js"/>'></script>
|
||||||
<script type='text/javascript' src='<c:url value="/js/prettify.js"/>'></script>
|
<script type='text/javascript' src='<c:url value="/js/prettify.js"/>'></script>
|
||||||
|
<script>addEvent(window, 'load', prettyPrint)</script>
|
||||||
</c:if>
|
</c:if>
|
||||||
|
|
||||||
<decorator:head />
|
<decorator:head />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="prettyPrint()">
|
<body>
|
||||||
|
|
||||||
|
|
||||||
<div class="white_box">
|
<div class="white_box">
|
||||||
|
|
|
@ -423,6 +423,10 @@ var standardistaTableSorting = {
|
||||||
|
|
||||||
function standardistaTableSortingInit() {
|
function standardistaTableSortingInit() {
|
||||||
standardistaTableSorting.init();
|
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)
|
addEvent(window, 'load', standardistaTableSortingInit)
|
Loading…
Reference in New Issue