Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#4251 closed defect (fixed)

Textarea: programmatic creation fails (FF)

Reported by: bill Owned by: Douglas Hays
Priority: high Milestone: 1.0
Component: Dijit - Form Version: 0.9
Keywords: mail Cc:
Blocked By: Blocking:

Description (last modified by bill)

postCreate() of Textarea is being called before the domNode has been inserted into the document, causing the iframe to not have a contentWindow. See attached testcase (press new message button)

Attachments (1)

mail.html (12.2 KB) - added by bill 12 years ago.
new message button gets js error

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by Douglas Hays

postCreate() of Textarea is being called before the domNode has been inserted into the document, causing the iframe to not have a contentWindow. Hidden div's seem to work OK.

Changed 12 years ago by bill

Attachment: mail.html added

new message button gets js error

comment:2 Changed 12 years ago by bill

Description: modified (diff)
Summary: Textarea: won't initialize in dialog, hidden div, etc. (FF)Textarea: programmatic creation fails (FF)

Ah o.k., updating the bug description to be accurate. Yeah, it's only a problem for programmatically created nodes, but still bad.

comment:3 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [10430]) Fixes #4251. For FF, Textarea postCreate now checks that the iframe is fully initialized, and if not, allows the iframe to run postCreate when its ready.

comment:4 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.