Modify ↓
Opened 11 years ago
Last modified 11 years ago
#11489 accepted defect
Collapse/Uncollapse works only for first Gantt displayed in same page
Reported by: | Jorge Ortiz | Owned by: | Chris Nelson |
---|---|---|---|
Priority: | low | Component: | TracJsGanttPlugin |
Severity: | minor | Keywords: | collapse |
Cc: | Trac Release: | 1.0 |
Description
When having multiple graphs in the same page, the +/- collapse tool might collapse/uncollapse the group in the other graph. The JS onclick event listener seems to look for "span#group_[ticket_id]", which would match the same ticket displayed in another graph (with same, or more likely, different configuration). It seems to only affect the first match found.
I think this would be solved if the graph id "g_[graph_id]" could be prepended or appended to the group id string in the so that it only affects the correct graph.
Attachments (0)
Change History (4)
comment:1 Changed 11 years ago by
Status: | new → accepted |
---|
comment:2 Changed 11 years ago by
Note: See
TracTickets for help on using
tickets.
I have a partial fix. Working on fleshing it out.