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 Ryan J Ollos

Cc: Ryan J Ollos added; anonymous removed

comment:2 Changed 13 years ago by anonymous

Resolution: fixed
Status: newclosed

Fixed in [10833] for another ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Chris Nelson.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.