Skip to content

Commit

Permalink
Make onCancel() callback get called when user closes dialog via [x] i…
Browse files Browse the repository at this point in the history
…con. Fixes #4445.
  • Loading branch information
wkeese committed Dec 7, 2007
1 parent 36e10e8 commit acd9d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/Dialog.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="dijitDialog">
<div dojoAttachPoint="titleBar" class="dijitDialogTitleBar" tabindex="0" waiRole="dialog">
<span dojoAttachPoint="titleNode" class="dijitDialogTitle">${title}</span>
<span dojoAttachPoint="closeButtonNode" class="dijitDialogCloseIcon" dojoAttachEvent="onclick: hide">
<span dojoAttachPoint="closeButtonNode" class="dijitDialogCloseIcon" dojoAttachEvent="onclick: onCancel">
<span dojoAttachPoint="closeText" class="closeText">x</span>
</span>
</div>
Expand Down

0 comments on commit acd9d3f

Please sign in to comment.