aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorRichard D. Worth <rdworth@gmail.com>2012-10-09 08:41:18 -0400
committerRichard D. Worth <rdworth@gmail.com>2012-10-09 08:41:18 -0400
commit1e6e4ce4dcd9ac885a7b4088898f61f4930e63a3 (patch)
tree28c6e64db966d50074846dcf985706c8aaf11300 /ui
parent77568347cf0a063ee905364dbe32268ab80d6edd (diff)
downloadjquery-ui-1e6e4ce4dcd9ac885a7b4088898f61f4930e63a3.tar.gz
jquery-ui-1e6e4ce4dcd9ac885a7b4088898f61f4930e63a3.zip
Dialog: add required closing tag </button>. Fixes #8639 - jQuery 1.9.0 dialog on a XHTML page is broken if buttons are defined
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index 77424047c..98bd7fcaa 100644
--- a/ui/jquery.ui.dialog.js
+++ b/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() {