/DialogConfirm

Confirm dialog for the dojotoolkit, which stops code execution until the user presses either the ‘OK’ or ‘Cancel’ button.

Primary LanguageJavaScript

Confirm dialog for the dojotoolkit, which stops code execution until the user presses either the ‘OK’ or ‘Cancel’ button. The blocking behavior is implemented using a deferred, which is returned by the show method of the dialog.

You can find more info about it by reading Creating a blocking confirm dialog with dojo and checking out the demo of the DialogConfirm widget.

+ requires dojo 1.7 or greater

License

The author (Simon Speich) has placed this code in the public domain: "This code is unrestricted: you are free to use it however you like."