Opened 7 years ago

Closed 3 years ago

#1620 closed defect (fixed)

Issue with Xinha Initialization in IE 11.0

Reported by: guest Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: normal Keywords:


Due to the very different User Agent String provided by IE Xinha initialization
fails at

Line 198 of XinhaCore?.js

Xinha.is_ff2 = false ; Xinha.is_real_gecko && parseInt(navigator.productSub.substr(0,10), 10) < 20071210;

In IE 11 it will reach this line and then fail with unable to get property substr of productSub, which then causes the rest of the Xihna
initialization to fail. I guess the fix is to text for the presence of navigator.productSub before attempting to invoke it..

Change History (3)

comment:1 Changed 7 years ago by guest

I can be contacted at mark.drake@… or mark.drake@…

comment:2 Changed 7 years ago by guest

Quick and Dirty Workaround..

Xinha.is_ff2 = false ;
try {

Quick Hack to allow initialization to succeed in IE 11.0.
Xinha.is_ff2 = Xinha.is_real_gecko && parseInt(navigator.productSub.substr(0,10), 10) < 20071210;

catch (e) {}

comment:3 Changed 3 years ago by gogo

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

This fix, or something like it, is in trunk and IE 11 initialises OK.

Calling it fixed.

Note: See TracTickets for help on using tickets.