diff options
-rw-r--r-- | ui/ui.dialog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index b8f908487..13b69a7fb 100644 --- a/ui/ui.dialog.js +++ b/ui/ui.dialog.js @@ -324,7 +324,7 @@ $.widget("ui.dialog", { if (hasButtons) { uiDialogButtonPane.show(); $.each(buttons, function(name, fn) { - $('<button/>') + $('<button type="button"></button>') .text(name) .click(function() { fn.apply(self.element[0], arguments); }) .appendTo(uiDialogButtonPane); |