Ticket #25 (closed defect: fixed)

Opened 1 year ago

Last modified 9 months ago

el.ownerDocument.createRange JS error

Reported by: pgiraud Assigned to: sypasche
Priority: minor Milestone:
Component: MapFishSample 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 on 04/07/08 09:14:35.

Change History

11/05/07 22:19:58 changed by elemoine

  • keywords set to commit.

11/05/07 22:20:14 changed by elemoine

Pierre, please commit.

04/07/08 08:43:28 changed by fredj

  • state set to Commit.

04/07/08 09:14:35 changed by pgiraud

  • attachment window.html.patch added.

04/07/08 09:17:50 changed by pgiraud

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

Fixed with r318