diff options
Diffstat (limited to 'tests/visual/dialog/complex-dialogs.html')
-rw-r--r-- | tests/visual/dialog/complex-dialogs.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/visual/dialog/complex-dialogs.html b/tests/visual/dialog/complex-dialogs.html index 8e5d84d3d..46d2539c5 100644 --- a/tests/visual/dialog/complex-dialogs.html +++ b/tests/visual/dialog/complex-dialogs.html @@ -28,10 +28,21 @@ width: 500, buttons: [ { + click: $.noop, + icons: { + primary: "ui-icon-check" + }, text: "Ok" }, { - text: "Cancel" + click: function() { + $( this ).dialog( "close" ); + }, + icons: { + primary: "ui-icon-cancel" + }, + text: "Cancel", + showText: false } ] }), |