Opened 11 years ago

Closed 9 years ago

Last modified 7 years ago

#3160 closed enhancement (wontfix)

Ability to specify dialog containment

Reported by: morkil+jqueryui@… Owned by: Scott González
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'));
 		}

Change History (4)

comment:1 Changed 11 years ago by Cloudream

Milestone: TDB
Type: featureenhancement

comment:2 Changed 11 years ago by Scott González

Milestone: TBD1.next

comment:3 Changed 9 years ago by Scott González

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.

comment:4 Changed 7 years ago by Scott González

Milestone: 1.next1.6
Note: See TracTickets for help on using tickets.