From 9c53dbaf88aaab286805b237c8a62942a0504a04 Mon Sep 17 00:00:00 2001 From: Eduardo Lundgren Date: Sun, 24 Aug 2008 23:34:03 +0000 Subject: Use type button to avoid undesired submits --- ui/ui.dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/ui.dialog.js') 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) { - $('') .text(name) .click(function() { fn.apply(self.element[0], arguments); }) .appendTo(uiDialogButtonPane); -- cgit v1.2.3