aboutsummaryrefslogtreecommitdiffstats
path: root/demos/dialog/modal_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/dialog/modal_form.html')
-rw-r--r--demos/dialog/modal_form.html3
1 files changed, 1 insertions, 2 deletions
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');
}
}