From commits-return-12196-apmail-activemq-commits-archive=activemq.apache.org@activemq.apache.org Wed Nov 04 10:39:25 2009 Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 83831 invoked from network); 4 Nov 2009 10:39:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Nov 2009 10:39:25 -0000 Received: (qmail 74304 invoked by uid 500); 4 Nov 2009 10:39:25 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 74250 invoked by uid 500); 4 Nov 2009 10:39:24 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 74241 invoked by uid 99); 4 Nov 2009 10:39:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2009 10:39:24 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2009 10:39:22 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1391B238888F; Wed, 4 Nov 2009 10:39:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r832701 - in /activemq/trunk/activemq-web-console/src/main/webapp: decorators/main.jsp js/standardista-table-sorting.js Date: Wed, 04 Nov 2009 10:38:54 -0000 To: commits@activemq.apache.org From: dejanb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091104103902.1391B238888F@eris.apache.org> Author: dejanb Date: Wed Nov 4 10:38:40 2009 New Revision: 832701 URL: http://svn.apache.org/viewvc?rev=832701&view=rev Log: https://issues.apache.org/activemq/browse/AMQ-2410 - web console sorting Modified: activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp activemq/trunk/activemq-web-console/src/main/webapp/js/standardista-table-sorting.js Modified: activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp?rev=832701&r1=832700&r2=832701&view=diff ============================================================================== --- activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp (original) +++ activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp Wed Nov 4 10:38:40 2009 @@ -31,12 +31,13 @@ + - +
Modified: activemq/trunk/activemq-web-console/src/main/webapp/js/standardista-table-sorting.js URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web-console/src/main/webapp/js/standardista-table-sorting.js?rev=832701&r1=832700&r2=832701&view=diff ============================================================================== --- activemq/trunk/activemq-web-console/src/main/webapp/js/standardista-table-sorting.js (original) +++ activemq/trunk/activemq-web-console/src/main/webapp/js/standardista-table-sorting.js Wed Nov 4 10:38:40 2009 @@ -423,6 +423,10 @@ 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) \ No newline at end of file