Skip to main content

Search and Top Navigation

Ticket #4679: fixForTicket4679.diff
File fixForTicket4679.diff, 0.7 KB (added by wewals, July 17, 2009 08:30PM UTC)

Patch for Ticket 4679

Index: ui/ui.dialog.js
===================================================================
--- ui/ui.dialog.js	(revision 2935)
+++ ui/ui.dialog.js	(working copy)
@@ -126,6 +126,7 @@
 		(options.resizable && $.fn.resizable && self._makeResizable());
 
 		self._createButtons(options.buttons);
+		self._position(options.position);
 		self._isOpen = false;
 
 		(options.stackfix && $.fn.stackfix && uiDialog.stackfix());
@@ -223,7 +224,6 @@
 		self.overlay = options.modal ? new $.ui.dialog.overlay(self) : null;
 		(uiDialog.next().length && uiDialog.appendTo('body'));
 		self._size();
-		self._position(options.position);
 		uiDialog.show(options.show);
 		self.moveToTop(true);

Download in other formats:

Original Format