Opened 12 years ago
Closed 12 years ago
#11534 closed defect (invalid)
focus() back to original button that opened dialog blocks custom .focus
Reported by: | koen3950 | Owned by: | dante |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | DojoX Widgets | Version: | 1.5 |
Keywords: | dialog focus | Cc: | |
Blocked By: | Blocking: |
Description
When a dojodialog is closed, it places focus back to the original button that opened the dialog. This blocks us from setting the focus to another field on the screen. The focus should not be set to this original button or the user should have the choice via a parameter for the dojodialog.
I attached an example project Interchange. Mind you I'm using IBM's EGL so I am using the dojowidgets adapted for EGL.
Attachments (1)
Change History (2)
Changed 12 years ago by
Attachment: | dojoDialogFocusError.zip added |
---|
comment:1 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please make small test cases, on the order of 100 bytes, not 100K. There's no such thing as "dojodialog" in dojo.... there's a dijit.Dialog and a dojox.widget.Dialog. dijit.Dialog has a refocus parameter that you can set to false to get the behavior you want.
I searched through your code and it looks like you are referring to "egl.dojo.widgets.DojoDialog?", which isn't part of dojo at all.
EGL project interchange (open in IBM RBD)