From 4c9caa816906d53b989c65bd24c56147517eee82 Mon Sep 17 00:00:00 2001 From: Jörn Zaefferer Date: Thu, 15 Nov 2012 23:23:25 +0100 Subject: Dialog: Extract button pane creation into _createButtonPane --- tests/visual/dialog/complex-dialogs.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tests/visual/dialog/complex-dialogs.html') 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({ -- cgit v1.2.3