Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#3741 closed defect (fixed)

InlineEditBox: spinner autosaves on up arrow click on IE

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

Description

The InlineEditBox?/spinner tests for IE autosaves as soon as the up or down arrow button is pressed. It seems that _onBlur is firing too soon on IE6. Seems to work OK on FF2 and Safari/win.

Change History (3)

comment:1 Changed 12 years ago by bill

Owner: changed from bill to Douglas Hays

Actually it's from the code in TextBox?.js::onblur() (*not* "_onBlur"). TextBox::onblur() is attached to the <input> node so naturally there's a blur event when you click the arrows, which causes a call to setValue(val, true), thus closing the spinner.

Probably all of the form widgets should be changed to rely on _onFocus/_onBlur callbacks, so that we don't get spurious events like this?

comment:2 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [9638]) Fixes #3741. Change the textbox onblur to _onBlur.

comment:3 Changed 9 years ago by bill

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