Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#4389 closed defect (duplicate)

dijit.form.ComboBox fails (this.domNode = null) after reloaded from ContentPane

Reported by: guest Owned by: haysmark
Priority: high Milestone: 1.0
Component: Dijit - Form Version: 0.9
Keywords: ComboBox _ComboBoxMenu Cc:
Blocked By: Blocking:

Description

When a dijit.form.ComboBox? is first loaded into a ContentPane?, it performs fine. Once reloaded into a ContentPane?, the _ComboBoxMenu inside the ComboBox? looses reference to it's internal domNode. This is demonstrated by clicking the down arrow to launch the menu choices for the ComboBox? after reloading the ContentPane?. Attached is a sample.

Start with cbBug.html. This has a comboBox in a ContentPane?, which works fine. Select an item from the ComboBox?. Then click the "Change Pane to data2.html" button, which reloads the ContentPane?. This will reload the ContentPane? with a new ComboBox?. If you select the down arrow to see menu items, it will not show. If you select the down arrow again, you'll see a javascript error indicating "this.domNode has no properties" (in FF 2.0.0.6 with FireBug?). This also fails under IE 6 and 7.

Attachments (3)

cbBug.html (1.1 KB) - added by guest 12 years ago.
data1.html (470 bytes) - added by guest 12 years ago.
data2.html (474 bytes) - added by guest 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by guest

Attachment: cbBug.html added

Changed 12 years ago by guest

Attachment: data1.html added

Changed 12 years ago by guest

Attachment: data2.html added

comment:1 Changed 12 years ago by guest

sorry, forgot my email in the cc: lloydmurray@…

comment:2 Changed 12 years ago by bill

Milestone: 1.0
Owner: set to haysmark

comment:3 Changed 12 years ago by haysmark

Resolution: duplicate
Status: newclosed

Dup of #4038.

We fixed this just after the 0.9 cut. I ran the test case and it works fine from trunk.

comment:4 Changed 9 years ago by bill

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