On Mar 30, 2011, at 7:45 AM, Matthew Caron wrote:
> On 03/30/2011 08:53 AM, Eric Ray wrote:
>>
>> I just opened the page (no graph) and did View Source.
>>
>> I see (just the interesting part, obviously) the following code...but no
>> chart. Seems like it
>> knows of stuff to chart.
>
> Did the Gantt JS actually get loaded? Like, is it wget-able?
>
So it appears.
The script include block is:
<script type="text/javascript"
src="/trac/chrome/common/js/jquery.js"></script><script type="text/javascript"
src="/trac/chrome/common/js/babel.js"></script><script type="text/javascript"
src="/trac/chrome/common/js/trac.js"></script><script type="text/javascript"
src="/trac/chrome/common/js/search.js"></script><script type="text/javascript"
src="/trac/chrome/common/js/folding.js"></script><script type="text/javascript"
src="/trac/chrome/tracjsgantt/jsgantt.js"></script>
<!--[if lt IE 7]>
<script type="text/javascript"
src="/trac/chrome/common/js/ie_pre7_hacks.js"></script>
<![endif]-->
The link to jsgantt.js works when I click on it (opens the file of JS code),
and going
directly to www.example.com//trac/chrome/tracjsgantt/jsgantt.js (not with
example, of course)
works as well.
> Assuming FF, are there any useful JS errors?
>
Ah. Maybe.
vPopupFeatures is not defined, from jsgantt.js. Any ideas?
The context and call is:
vLeftTable +=
'<span ' +
'onclick=JSGantt.taskLink("' + vTaskList[i].getLink() +
'","'+vPopupFeatures+'"); ' +
'style="cursor:pointer;
display:inline-block;width:'+vNameWidth+'px;overflow:hidden;padding:0px" ' +
'title="'+vTaskList[i].getName()+'"> ' +
vTaskList[i].getName() +
'</span>' +
'</NOBR></TD>' ;
> --
> Matthew Caron
> Build Engineer
> Sixnet | www.sixnet.com
> O +1 518 877 5173 Ext. 138
> F +1 518 602 9209
> [email protected]
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.