Skip to content
Permalink
Browse files

Added dialog close for buttons

  • Loading branch information
Todd Parker
Todd Parker committed Dec 30, 2008
1 parent cab1e16 commit 56727f40c010c974645c9d9a79914d1b273bad86
Showing with 3 additions and 5 deletions.
  1. +1 −2 demos/dialog/modal_confirmation.html
  2. +1 −2 demos/dialog/modal_form.html
  3. +1 −1 demos/dialog/modal_message.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');
}
}
@@ -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');
}
}
@@ -19,7 +19,7 @@
},
buttons: {
Ok: function() {
alert('You clicked Ok!');
$(this).dialog('close');
}
}
});

0 comments on commit 56727f4

Please sign in to comment.
You can’t perform that action at this time.