mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dialog: add required closing tag </button>. Fixes #8639 - jQuery 1.9.0 dialog on a XHTML page is broken if buttons are defined
This commit is contained in:
parent
77568347cf
commit
1e6e4ce4dc
2
ui/jquery.ui.dialog.js
vendored
2
ui/jquery.ui.dialog.js
vendored
@ -364,7 +364,7 @@ $.widget("ui.dialog", {
|
|||||||
props = $.isFunction( props ) ?
|
props = $.isFunction( props ) ?
|
||||||
{ click: props, text: name } :
|
{ click: props, text: name } :
|
||||||
props;
|
props;
|
||||||
var button = $( "<button type='button'>" )
|
var button = $( "<button type='button'></button>" )
|
||||||
.attr( props, true )
|
.attr( props, true )
|
||||||
.unbind( "click" )
|
.unbind( "click" )
|
||||||
.click(function() {
|
.click(function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user