Skip to content
Permalink
Browse files

Dialog: add required closing tag </button>. Fixes #8639 - jQuery 1.9.…

…0 dialog on a XHTML page is broken if buttons are defined
  • Loading branch information...
rdworth committed Oct 9, 2012
1 parent 7756834 commit 1e6e4ce4dcd9ac885a7b4088898f61f4930e63a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.dialog.js
@@ -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() {

0 comments on commit 1e6e4ce

Please sign in to comment.
You can’t perform that action at this time.