Ability to specify dialog containment
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)
Milestone: |
→ TDB
|
Type: |
feature →
enhancement
|
Resolution: |
→ wontfix
|
Status: |
new →
closed
|
Adding options that proxy back to draggable and resizable would cause API bloat. If you need additional control, use the draggable plugin yourself.