From cd7f10d480c923d095af6cbd844cbbdb5bb3813e Mon Sep 17 00:00:00 2001 From: Scott González Date: Thu, 30 Sep 2010 10:17:52 -0700 Subject: Dialog: Set the type on buttons. Fixes #6128 - Dialog: Buttons are not type="button". --- 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 11cc1960b..f7d441894 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -376,7 +376,7 @@ $.widget("ui.dialog", { props = $.isFunction( props ) ? { click: props, text: name } : props; - var button = $('', props) + var button = $('', props) .unbind('click') .click(function() { props.click.apply(self.element[0], arguments); -- cgit v1.2.3