I tried installing the recent version of plugin too. Yet I cannot load the
java scripts:
{{{{
<head>
<title>Ticket Statistics</title>
<style type="text/css">#chart {
height: 500px
}</style>
<script type="text/javascript"
src="${yui_base_url}/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript"
src="${yui_base_url}/element/element-min.js"></script>
<script type="text/javascript"
src="${yui_base_url}/datasource/datasource-min.js"></script>
<script type="text/javascript"
src="${yui_base_url}/json/json-min.js"></script>
<script type="text/javascript"
src="${yui_base_url}/swf/swf-min.js"></script>
<script type="text/javascript"
src="${yui_base_url}/logger/logger-min.js"></script>
<!-- OPTIONAL: Connection (enables XHR) -->
<script type="text/javascript"
src="${yui_base_url}/connection/connection-min.js"></script>
<!-- Source files -->
<script type="text/javascript"
src="${yui_base_url}/charts/charts-min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
if ('datepicker' in $) {
$("#start_date").datepicker();
$("#end_date").datepicker();
}
});
</script>
</head>
}}}}
This section in ticketstats.html is producing a browser error
On Thursday, July 13, 2017 at 2:52:00 PM UTC+2, Jun Omae wrote:
>
> On Thu, Jul 13, 2017 at 9:39 PM, toto200891 <[email protected]
> <javascript:>> wrote:
> > The default yui_base_url used in the ticketstats.py file
> > "http://yui.yahooapis.com/2.5.2, is inacessible. Its giving an error
> 404. So
> > I think that is what creating a problem?
>
> No. Your using TracTicketStatsPlugin is very old. Please update to the
> latest.
>
> The location has been modified to use CDNJS 2 years ago,
> in https://trac-hacks.org/changeset/14702.
>
> See also
> https://trac-hacks.org/browser/tracticketstatsplugin/trunk/ticketstats/ticketstats.py#L33
>
>
> --
> Jun Omae <[email protected] <javascript:>> (大前 潤)
>
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.