diff options
-rw-r--r-- | demos/dialog/modal_confirmation.html | 3 | ||||
-rw-r--r-- | demos/dialog/modal_form.html | 3 | ||||
-rw-r--r-- | demos/dialog/modal_message.html | 2 |
3 files changed, 3 insertions, 5 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'); } } diff --git a/demos/dialog/modal_form.html b/demos/dialog/modal_form.html index dd1053c25..e272ad826 100644 --- a/demos/dialog/modal_form.html +++ b/demos/dialog/modal_form.html @@ -20,10 +20,9 @@ }, buttons: { 'Create user account': function() { - alert('The user was created!'); + $(this).dialog('close'); }, Cancel: function() { - alert('You clicked Cancel. The dialog will now close.'); $(this).dialog('close'); } } diff --git a/demos/dialog/modal_message.html b/demos/dialog/modal_message.html index 3d41897d9..721de9349 100644 --- a/demos/dialog/modal_message.html +++ b/demos/dialog/modal_message.html @@ -19,7 +19,7 @@ }, buttons: { Ok: function() { - alert('You clicked Ok!'); + $(this).dialog('close'); } } });
|