Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#14325 closed defect (fixed)

InlineEditBox: exception on clicking to edit w/dijit.Editor (IE9)

Reported by: bill Owned by: bill
Priority: high Milestone: 1.7.5
Component: Dijit Version: 1.7.0
Keywords: Cc:
Blocked By: Blocking:


In test_InlineEditBox.html, clicking the InlineEditBox mapped to dijit.Editor gets an exception on IE9 (at least on my machine). The problem is that it calls editor.getValue() before the editor has finished initializing.

The call is in a setTimeout(func, 0) but it should be also watching editor.onLoadDeferred.

Attachments (1)

14325_17.patch (2.6 KB) - added by haysmark 9 years ago.
Backport to 1.7.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by bill

Resolution: fixed
Status: newclosed

In [27132]:

wait until edit widget (in particular dijit.Editor) has finished initializing before accessing it, fixes #14325 !strict.

comment:2 Changed 9 years ago by haysmark

I can reproduce this in 1.7, but not in 1.6; it must have been a regression.

Changed 9 years ago by haysmark

Attachment: 14325_17.patch added

Backport to 1.7.

comment:3 Changed 9 years ago by haysmark

In [30349]:

Backport [27132] to 1.7. Refs #14325.

comment:4 Changed 9 years ago by haysmark

Milestone: 1.81.7

comment:5 Changed 9 years ago by haysmark


comment:6 Changed 9 years ago by bill

Well, it's a race condition in 1.7, so I wouldn't be surprised if it's there in 1.6 too, but I guess we don't need to worry about it unless it reproduces for someone.

Note: See TracTickets for help on using tickets.