Ticket #3741 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

InlineEditBox: spinner autosaves on up arrow click on IE

Reported by: doughays Owned by: doughays
Priority: normal Milestone: 0.9
Component: Dijit Version: 0.9
Severity: normal Keywords:
Cc:

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

Changed 14 months ago by bill

  • owner changed from bill to doughays

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?

Changed 14 months ago by doughays

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.