zmughal / jsgantt

Automatically exported from code.google.com/p/jsgantt
0 stars 1 forks source link

Task group dissappears #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open jsgantt's demo page.
2. Click on the "Define Chart API" bullet (to collapse the group)
3. Click on the "Code Javascript" bullet (to collapse the group)
4. Click on the "Week" Format radio button.
5. The "Javascript" bullet dissappears.

What is the expected output? What do you see instead?

That the chart is redrawn with all its task groups.

What version of the product are you using? On what operating system?

Firefox 3 on Fedora 10.

Original issue reported on code.google.com by aba...@gmail.com on 13 Feb 2009 at 8:54

GoogleCodeExporter commented 9 years ago
The fix is adding

         vVisible = pOpen;

before

         pList[i].setVisible(vVisible);

on JSGantt.processRows, line 229 of jsgantt.js. This way, the function doesn't
"remember" the visible property of a node on the same level of the previous
iteration. I think this also fixes a similar issue on the tracker.

Original comment by aba...@gmail.com on 17 Feb 2009 at 3:56

GoogleCodeExporter commented 9 years ago
fixed in revision 21

Original comment by shlomyga...@gmail.com on 15 May 2009 at 8:12