Modify ↓
Opened 13 years ago
Closed 13 years ago
#9101 closed defect (fixed)
resize listener doesn't work in IE 8
Reported by: | Danny Sauer | Owned by: | Chris Nelson |
---|---|---|---|
Priority: | normal | Component: | TracJsGanttPlugin |
Severity: | normal | Keywords: | IE, javascript |
Cc: | Ryan J Ollos | Trac Release: | 0.11 |
Description
The line
text += 'window.addEventListener("resize", function () { g.Draw();\n }, false);'
causes a JS error because "object doesn't support this property" when running under IE 8. I plan to poke around and see if I can figure out how IE allows you to triggetr a repaint on resize events, but I wonder if that's relevant anyway since we don't seem to resize the chart with the window size anyway (or possibly that's IE8's fault, too :)).
Commenting that line out allows the chart to display just fine in my browser (which is mandated by my employer, or I'd just use a good browser). Leaving the line uncommented makes no chart display.
Attachments (0)
Change History (2)
comment:1 Changed 13 years ago by
Cc: | Ryan J Ollos added; anonymous removed |
---|
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in [10833] for another ticket.