Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#5542 closed defect (fixed)

dojo.NodeList.addContent hangs browser

Reported by: dante Owned by: alex
Priority: high Milestone: 1.1
Component: Core Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

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 "last
after" as a second param is the default, but is seemingly ignored.

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

works as expected.

Attachments (1)

NodeList.patch (645 bytes) - added by dante 12 years ago.
okay that wasn't so bad

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by dante

Attachment: NodeList.patch added

okay that wasn't so bad

comment:2 Changed 12 years ago by alex

Resolution: fixed
Status: newclosed

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

comment:3 Changed 12 years ago by Adam Peller

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

Note: See TracTickets for help on using tickets.