Modify

Opened 3 years ago

Closed 3 years ago

#9101 closed defect (fixed)

resize listener doesn't work in IE 8

Reported by: dannysauer Owned by: ChrisNelson
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords: IE, javascript
Cc: rjollos 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 3 years ago by rjollos

  • Cc rjollos added

comment:2 Changed 3 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [10833] for another ticket.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.