#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 14 years ago by
Owner: | changed from bill to Douglas Hays |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
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?