Ticket #25 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

el.ownerDocument.createRange JS error

Reported by: pgiraud Owned by: sypasche
Priority: minor Milestone:
Component: sample Version:
Keywords: commit Cc:
State: Commit

Description

In some cases, on IE, javascript crashes when trying to call el.ownerDocument.createRange.

As said in an ext forum topic [1], there is "an issue in IE where the first element of the body can't be a text node".

This is the case in examples/map/window.html.

Proposed patch fixes this.

We also should add a notice in some FAQ in the wiki.

[1] http://extjs.com/forum/showthread.php?t=7912&highlight=createRange

Attachments

window.html.patch (1.3 kB) - added by pgiraud 4 years ago.

Change History

Changed 4 years ago by elemoine

  • keywords commit added

Changed 4 years ago by elemoine

Pierre, please commit.

Changed 4 years ago by fredj

  • state set to Commit

Changed 4 years ago by pgiraud

Changed 4 years ago by pgiraud

  • status changed from new to closed
  • resolution set to fixed

Fixed with r318

Note: See TracTickets for help on using tickets.