Ticket #5542 (closed defect: fixed)

Opened 6 months ago

Last modified 6 months ago

dojo.NodeList.addContent hangs browser

Reported by: dante Owned by: alex
Priority: high Milestone: 1.1
Component: Core Version: 1.0
Severity: normal Keywords:
Cc:

Description

with some node: <div id="foo">bar</div>

the NodeList? operator:

dojo.query("#foo").addContent("test");

causes FF to stop responding. the inline comments indicate "lastafter" as a second param is the default, but is seemingly ignored.

dojo.query("#foo").addContent("test","after");

works as expected.

Attachments

NodeList.patch (0.6 kB) - added by dante 6 months ago.
okay that wasn't so bad

Change History

Changed 6 months ago by dante

okay that wasn't so bad

Changed 6 months ago by alex

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

(In [11985]) ensure that the position default is actually respected. Fixes #5542. Adds better docs. !strict

Changed 6 months ago by peller

(In [11988]) some reductions (=== undefined) and style mods. Refs #5542

Note: See TracTickets for help on using tickets.