From: Richard D. Worth Date: Tue, 9 Oct 2012 12:41:18 +0000 (-0400) Subject: Dialog: add required closing tag . Fixes #8639 - jQuery 1.9.0 dialog on... X-Git-Tag: 1.9.1~65 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1e6e4ce4dcd9ac885a7b4088898f61f4930e63a3;p=jquery-ui.git Dialog: add required closing tag . Fixes #8639 - jQuery 1.9.0 dialog on a XHTML page is broken if buttons are defined --- 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 = $( "" ) .attr( props, true ) .unbind( "click" ) .click(function() {