From dev-return-18762-apmail-activemq-dev-archive=activemq.apache.org@activemq.apache.org Wed Feb 03 20:01:54 2010 Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 98241 invoked from network); 3 Feb 2010 20:01:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 20:01:54 -0000 Received: (qmail 14430 invoked by uid 500); 3 Feb 2010 20:01:54 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 14402 invoked by uid 500); 3 Feb 2010 20:01:54 -0000 Mailing-List: contact dev-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 dev@activemq.apache.org Received: (qmail 14392 invoked by uid 99); 3 Feb 2010 20:01:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 20:01:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 20:01:52 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A8223234C4A8 for ; Wed, 3 Feb 2010 12:01:32 -0800 (PST) Message-ID: <2030082439.9821265227292687.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Feb 2010 20:01:32 +0000 (UTC) From: "Rob (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQ-2410) Web console queues index misses sort link on table header In-Reply-To: <383156776.1253780751970.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/AMQ-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57356#action_57356 ] Rob commented on AMQ-2410: -------------------------- I had added this fix about a month ago and didn't pay too much attention to it. We changed to fuse 5.3 and I noticed a javascript error on the page. Perhaps this does not affect amq 5.3 but I bet it does. The JS error is: "opt_whenDone is not a function" This occurs on the topics and queues pages. The fix is mentioned on the prettify.js page: " I get an error message "a is not a function" or "opt_whenDone is not a function" If you are calling prettyPrint via an event handler, wrap it in a function. Instead of doing addEventListener('load', prettyPrint, false); wrap it in a closure like addEventListener('load', function (event) { prettyPrint() }, false); so that the browser does not pass an event object to prettyPrint which will confuse it. " Also.. when you click the "home" link on the admin page.. you get a different error: "document.getElementsByTagName("TH")[0] is undefined" I just made a quick fix... so there is probably something better to do... I changed the following: var e = {}; var obj = document.getElementsByTagName("TH")[0].firstChild; e.target = obj; standardistaTableSorting.headingClicked(e); // will sort Ascending to: if(window.location.hostname.indexOf("index.jsp") != -1) { var e = {}; var obj = document.getElementsByTagName("TH")[0].firstChild; e.target = obj; standardistaTableSorting.headingClicked(e); // will sort Ascending } > Web console queues index misses sort link on table header > --------------------------------------------------------- > > Key: AMQ-2410 > URL: https://issues.apache.org/activemq/browse/AMQ-2410 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.3.0 > Environment: ActiveMQ 5.3 SNAPSHOT 2009-09-08, MacOSX 10.6.1, Java 1.6.0_15, Ubuntu Server 8.04 LTS > Reporter: Uwe Kubosch > Assignee: Dejan Bosanac > Priority: Minor > Fix For: 5.3.1, 5.4.0 > > > In the ActiveMQ 5.2 web console, we could click on the column headers of the queue index table to sort the table on the indicated column values. > This is missing in the 5.3 SNAPSHOT. The column headers are just inactive text, not links like they wer in 5.2. > The sorting feature is VERY helpful when we have many queues, as we have in our project. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.