Opened 12 years ago

Last modified 11 years ago

#9862 closed defect

Javascript error doesn't allow the chart creation — at Version 1

Reported by: leandrosansilva@… Owned by: Chris Nelson
Priority: normal Component: TracJsGanttPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

I installed jsganttyplugin in two debian machines, both with trac 0.12. In the first, Installed trac and jsgantt plugin from repository (testng) and in the other I installed them from website (I used easy_install to install the plugin).

This error occours in both instalations.

I configured jsgantt as described in the manual installation, but When I edit a page to create a gantt chart, nothing happens.

Looking at firebug, I can see this error (happens in both machines):

pComp.indexOf is not a function
TaskItem()                                                                jsgantt.js (line 175)
pID = 1
pName = "Define Chart API"
pStart = ""
pEnd = ""
pDisplay = "#ff0000"
pLink = "http://help.com"
pMile = 0
pRes = "Brian"
pComp = 0
pGroup = 1
pParent = 0
pOpen = 1
pDepend = Object { setFormatArr=function(), setShowRes=function(), setShowDur=function(), more...}
pCaption = undefined
g = undefined

WikiStart (linha 101)

if (pComp.indexOf('/') == -1) {

jsgantt.js (line 175)

Change History (1)

comment:1 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.