Opened 10 years ago
Closed 10 years ago
#13261 closed defect (invalid)
Different behaviour of dojoType and data-dojo-type
Reported by: | MistaPink | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit - Form | Version: | 1.6.1 |
Keywords: | TooltipDialog, Button, data-dojo-type | Cc: | |
Blocked By: | Blocking: |
Description
Hi,
I have a nested tooltip dialog and there one submit button. But the dialog will not be closed if I use data-dojo-type in declaration. If I use dojoType instead everything works perfect. Tested this one with Webkit Nightly Build, Safari Stable and FF4.0.1.
Attachments (1)
Change History (2)
Changed 10 years ago by
Attachment: | dojoFail.html added |
---|
comment:1 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
As stated in the documentation for data-dojo-type, when you use it you need to put all your attributes in data-dojo-props, so this is invalid:
However, for 1.7 that restriction was lifted so the code you have will work.