aboutsummaryrefslogtreecommitdiffstats
path: root/demos/dialog/modal_confirmation.html
diff options
context:
space:
mode:
authorTodd Parker <fg.todd@gmail.com>2008-12-30 20:22:12 +0000
committerTodd Parker <fg.todd@gmail.com>2008-12-30 20:22:12 +0000
commit56727f40c010c974645c9d9a79914d1b273bad86 (patch)
treea20ac2eba33ffcefde1fed3cc6c3ba9018b16aaa /demos/dialog/modal_confirmation.html
parentcab1e162e82466188a114ec19b4f50cea36026f7 (diff)
downloadjquery-ui-56727f40c010c974645c9d9a79914d1b273bad86.tar.gz
jquery-ui-56727f40c010c974645c9d9a79914d1b273bad86.zip
Added dialog close for buttons
Diffstat (limited to 'demos/dialog/modal_confirmation.html')
-rw-r--r--demos/dialog/modal_confirmation.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/dialog/modal_confirmation.html b/demos/dialog/modal_confirmation.html
index 2e4d264ca..44566622b 100644
--- a/demos/dialog/modal_confirmation.html
+++ b/demos/dialog/modal_confirmation.html
@@ -21,10 +21,9 @@
},
buttons: {
'Delete all items in recycle bin': function() {
- alert('The items were deleted forever!');
+ $(this).dialog('close');
},
Cancel: function() {
- alert('You clicked Cancel. The dialog will now close.');
$(this).dialog('close');
}
}