aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-11-15 23:23:25 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-11-26 10:28:22 +0100
commit4c9caa816906d53b989c65bd24c56147517eee82 (patch)
tree95714f00ce6a0bd52a1558adeb9afdcc0697128c /tests/visual
parent1d6ce644e0c7ba9b4b53b16aea4a91b2b24cc05c (diff)
downloadjquery-ui-4c9caa816906d53b989c65bd24c56147517eee82.tar.gz
jquery-ui-4c9caa816906d53b989c65bd24c56147517eee82.zip
Dialog: Extract button pane creation into _createButtonPane
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/dialog/complex-dialogs.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/visual/dialog/complex-dialogs.html b/tests/visual/dialog/complex-dialogs.html
index 2b9a0d3a6..8e5d84d3d 100644
--- a/tests/visual/dialog/complex-dialogs.html
+++ b/tests/visual/dialog/complex-dialogs.html
@@ -25,7 +25,15 @@
var dialog = $( "#dialog" ).dialog({
modal: true,
height: 300,
- width: 500
+ width: 500,
+ buttons: [
+ {
+ text: "Ok"
+ },
+ {
+ text: "Cancel"
+ }
+ ]
}),
datepickerDialog = $( "#dialog-datepicker" ).dialog({