Created
March 16, 2015 09:23
-
-
Save d30jeff/588c6f830b24533036fe to your computer and use it in GitHub Desktop.
Confirm dialog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- In Dialogs.js --> | |
onDelete: function(evt) { | |
confirmBox.show(); | |
} | |
on(widget.deleteButton, 'click', func.onDelete); | |
<!-- HTML in Dialogs.html --> | |
<div data-dojo-type="dijit/Dialog" data-dojo-id="myDialog"> | |
<p id="confirmBoxMsg"></p> | |
<span class="spacer"></span> | |
<button id="confirmDeleteButton">Delete</button> | |
<button>Cancel</button> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment