Opened 14 years ago

Closed 14 years ago

#6106 closed defect (invalid)

Dijit.dialog doesnt work as form Mixin

Reported by: guest Owned by:
Priority: high Milestone:
Component: Dijit Version: 1.0
Keywords: dijit.Dialog Cc: [email protected]
Blocked By: Blocking:


I was excited to see the dialogs used the form mixin. However, even on the dialog test page, it doesnt work:

<div dojoType="dijit.Dialog" id="dialog1" title="First Dialog"

onfocus="console.log('user focus handler')" onblur="console.log('user blur handler')" execute="alert('submitted w/args:

' + dojo.toJson(arguments[0], true));">

the onfocus or blur never fire. If I have a submit button, it doesnt submit the dialog..

Change History (2)

comment:1 Changed 14 years ago by guest

It is possible that, it differs when fired from a dojo Button as opposed to a menu item click? I just have a menu, that fires the show method of my dialog upon click.

comment:2 Changed 14 years ago by bill

Resolution: invalid
Status: newclosed

You can call show() any way you want to.

The console messages are showing up for me on FF3/mac, safari3/mac, and IE6. And the submit button is working for me too. Tested on test_Dialog.html

Please test that file and assuming that it's working for you, try to see what the difference is between it and your test file. If it still seems like your test should be working then please attach the testcase.

Note: See TracTickets for help on using tickets.