Custom Query (7259 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (70 - 72 of 7259)

Ticket Resolution Summary Owner Reporter
#4664 fixed uiDialog.resizable needs containment:'document' to agree with uiDialog.draggable. audreyt
Description

As users can't drag a dialog outside the document range, they shouldn't be able to resize a dialog outside the document range either.

This was reported by Tracy Ruggles at Socialtext and fixed by yours truly -- patch follows.

--- jquery-ui-1.7.2.custom.js +++ jquery-ui-1.7.2.custom.js @@ -2422,6 +2422,7 @@ $.widget("ui.dialog", {

this.uiDialog.resizable({

cancel: '.ui-dialog-content',

+ containment: 'document',

alsoResize: this.element, maxWidth: options.maxWidth, maxHeight: options.maxHeight,

#1946 notabug uiDialog.open always opens most recent dialog kbansner
Description

On the ui.dialog.html sample page http://dev.jquery.com/view/trunk/ui/current/demos/ui.dialog.html

1. Create and close all three dialogs in order.
2. Open the first dialog by clicking the "open" button.

Result: The third dialog re-appears.

It seems that the last dialog initialized is opened regardless of which id is called via: $(element).dialogOpen().

#7704 wontfix uiDialog.draggable: override containment and scroll options binduck
Description

In ui.dialog.makeDraggable, when calling uiDialog.draggable method, it could be very useful to override containement and scroll options.

        options: {
             .....
             draggable: true,
             draggableOpts: {
                scroll: true,
                containment: 'document'
             },
             .....
         },
         .....
         .....
	self.uiDialog.draggable({
            cancel: '.ui-dialog-content, .ui-dialog-titlebar-close',
            handle: '.ui-dialog-titlebar',
            containment: options.draggable.containment,
            scroll: options.draggable.scroll,
Note: See TracQuery for help on using queries.