]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog: add required closing tag </button>. Fixes #8639 - jQuery 1.9.0 dialog on...
authorRichard D. Worth <rdworth@gmail.com>
Tue, 9 Oct 2012 12:41:18 +0000 (08:41 -0400)
committerRichard D. Worth <rdworth@gmail.com>
Tue, 9 Oct 2012 12:41:18 +0000 (08:41 -0400)
ui/jquery.ui.dialog.js

index 77424047cdef6c3e026d88ddcf2e3d854c3289a1..98bd7fcaa86ad28b780165575faf4c4afcd7fca8 100644 (file)
@@ -364,7 +364,7 @@ $.widget("ui.dialog", {
                                props = $.isFunction( props ) ?
                                        { click: props, text: name } :
                                        props;
-                               var button = $( "<button type='button'>" )
+                               var button = $( "<button type='button'></button>" )
                                        .attr( props, true )
                                        .unbind( "click" )
                                        .click(function() {