From 56727f40c010c974645c9d9a79914d1b273bad86 Mon Sep 17 00:00:00 2001 From: Todd Parker Date: Tue, 30 Dec 2008 20:22:12 +0000 Subject: Added dialog close for buttons --- demos/dialog/modal_confirmation.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'demos/dialog/modal_confirmation.html') 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'); } } -- cgit v1.2.3