Opened 14 years ago
Last modified 11 years ago
#6426 closed defect
Missing YAHOO logger widget JavaScript file — at Version 1
Reported by: | Owned by: | Prentice Wongvibulsin | |
---|---|---|---|
Priority: | normal | Component: | TracTicketStatsPlugin |
Severity: | normal | Keywords: | javascript |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
I'm using the stats plugin with Python 2.5, but it kind of works.
There is one thing, in the JavaScript, that bothers me: a YAHOO widget for logging is not included, and this fires a JS error.
<script type="text/javascript"> var myLogReader = new YAHOO.widget.LogReader("myLogger"); </script>
To fix this, include this http://yui.yahooapis.com/2.5.2/build/logger/logger-min.js where you include the scripts.
Version used: /usr/lib/python2.5/site-packages/Tracticketstats-2.1-py2.5.egg
Change History (2)
Changed 14 years ago by
Attachment: | LoggerEnabled.png added |
---|
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
I can confirm the error on Ubuntu 10.04, Trac 0.11.7, TracTicketStatsPlugin 2.1, and Firefox 3.6.8.
The error I see in the Firefox Error Console is:
I patched as you suggested:
greensauce.html
However, now there is an error console at the bottom of the page:
I know nothing about javascript, so I need some guidance on the best way to fix this issue. Should we:
The logger code is form lines 145:149,