Opened 12 years ago

Closed 12 years ago

#10028 closed defect (invalid)

Dojo doesn't give focus to child windows in Internet Explorer

Reported by: lstoppa Owned by: anonymous
Priority: high Milestone: tbd
Component: Dijit Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:


Hi. I have an application that is using a dojo dialog to submit a form. The problem is that when submitting, the child window doesn't have focus and is placed in background. In Firefox/Safari/Chrome? everything works as expected (the child windows opened with has focus) while in internet Explorer no. Is this a bug of Dojo? Is there a way to have focus also for Internet Explorer?

I tried with the following brpwsers:

  1. FF 2.0, 2.5, 3.0 [always works well]
  2. Internert Explorer 6, 7. [no fosus here]

Attachments (1)

modaldialog.html (4.3 KB) - added by lstoppa 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by lstoppa

Attachment: modaldialog.html added

comment:1 Changed 12 years ago by bill

Component: GeneralDijit
Resolution: invalid
Status: newclosed

You need to use the refocus=false flag on the dijit.Dialog.

It's trying to refocus on the "Show Dialog" button thus unfocusing the child pane you just opened.

Note: See TracTickets for help on using tickets.