From 1e6e4ce4dcd9ac885a7b4088898f61f4930e63a3 Mon Sep 17 00:00:00 2001 From: "Richard D. Worth" Date: Tue, 9 Oct 2012 08:41:18 -0400 Subject: [PATCH] Dialog: add required closing tag . Fixes #8639 - jQuery 1.9.0 dialog on a XHTML page is broken if buttons are defined --- ui/jquery.ui.dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {