Skip to main content

Bug Tracker

Side navigation

Ticket #1990: multipleDialogsPatch.diff


File multipleDialogsPatch.diff, 0.4 KB (added by rbrackett, November 28, 2007 11:53PM UTC)

Fix to let multiple dialogs work again in UI

Index: current/ui.dialog.js
===================================================================
--- current/ui.dialog.js	(revision 3970)
+++ current/ui.dialog.js	(working copy)
@@ -9,7 +9,7 @@
 	$.fn.dialogInit = function(o) {
 		return this.each(function() {
 			if (!$(this).is(".ui-dialog")) {
-				$.ui.dialogInit(this, o);
+				new $.ui.dialogInit(this, o);
 			}			
 		});
 	}

Download in other formats:

Original Format