Re: [Agilo for Trac] Sidebar "Tickets"and some other things broken since Trac 1.0

157 views
Skip to first unread message

Stefano Rago

unread,
Dec 10, 2012, 4:28:28 AM12/10/12
to ag...@googlegroups.com
Hi Toni,

thanks for reporting this problems, 

On Dec 3, 2012, at 8:48 PM, Toni Guenther <morp...@kotb-clan.de> wrote:

i've updated my Trac to 1.0 after installing the newest version of agilo for trac.
It is recommend to deactivate the "Trac Reports" Component to use the new "Query" Component.
It will be great to create new menu entries in the tickets sidebar section for specific Queries.

So its an empty Headline and some people will annoying me shortly ;)



This is actually a bug, we have implemented a fix and it will be part of the next Agilo release.
In the meantime, you can apply a patch by replacing these two lines

24. $(".tree.tickets").load(url + "/report .listing.reports td.title a:lt(10)", function() {
25. $(".tree.tickets a").wrap("<li></li>");

with these

24. $(".tree.tickets").load(url + "/report .reports h3 a[title='View report']:lt(10)", function() {
25. $(".tree.tickets a").wrap("<li></li>").find('em').remove();

in the file agilo/htdocs/js/sidebar.js

This will still pull the Trac reports though, and not the queries. For that we will have to come up with a different solution.


Another point is the broken layout on some pages (Main Menu icons missing...).
If you need any additional information pls ask here.


Can you please describe this more in detail?
What browser are you using? Do you see any error in the javascript console log?

Thanks

Stefano Rago

Toni Guenther

unread,
Dec 11, 2012, 5:12:37 PM12/11/12
to ag...@googlegroups.com
Hi!
After changing the title "View report" to "Bericht anzeigen" it is working again ;)
There should be a more multilanguage fix in the next version ;)

Greetings
Toni

Elaborate Ruse

unread,
Dec 13, 2012, 4:37:51 PM12/13/12
to ag...@googlegroups.com
Thank you for this fix.  It worked great in our environment for bringing the reports back to the sidebar.
Reply all
Reply to author
Forward
0 new messages