Skip to main content

Search and Top Navigation

#3160 closed enhancement (wontfix)

Opened July 31, 2008 07:12PM UTC

Closed August 27, 2010 08:07PM UTC

Last modified October 03, 2012 04:47PM UTC

Ability to specify dialog containment

Reported by: morkil+jqueryui@gmail.com Owned by: scottgonzalez
Priority: minor Milestone: 1.6
Component: ui.dialog Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:
Description

Patch:

--- ui.dialog.js.orig	2008-07-09 13:35:26.000000000 +0200
+++ ui.dialog.js	2008-07-31 14:11:38.000000000 +0200
@@ -119,7 +119,8 @@
 				stop: function(e, ui) {
 					(options.dragStop && options.dragStop.apply(self.element[0], arguments));
 					$.ui.dialog.overlay.resize();
-				}
+				},
+				containment: options.containment
 			});
 			(options.draggable || uiDialog.draggable('disable'));
 		}
Attachments (0)
Change History (4)

Changed August 17, 2008 10:22AM UTC by Cloudream comment:1

milestone: → TDB
type: featureenhancement

Changed January 04, 2009 06:14PM UTC by scottgonzalez comment:2

milestone: TBD1.next

Changed August 27, 2010 08:07PM UTC by scottgonzalez comment:3

resolution: → wontfix
status: newclosed

Adding options that proxy back to draggable and resizable would cause API bloat. If you need additional control, use the draggable plugin yourself.

Changed October 03, 2012 04:47PM UTC by scottgonzalez comment:4

milestone: 1.next1.6