Skip to content

Commit 93160ef

Browse files
committed
Dialog: Fix example for buttons option
The example was still using the deprecated `icons` option for the new button widget. It now uses the `icon` option instead.
1 parent ee70990 commit 93160ef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

entries/dialog.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,7 @@
105105
<example-value>[
106106
{
107107
text: "Ok",
108-
icons: {
109-
primary: "ui-icon-heart"
110-
},
108+
icon: "ui-icon-heart",
111109
click: function() {
112110
$( this ).dialog( "close" );
113111
}

0 commit comments

Comments
 (0)