I've verified that this problem is solved in 1.8a1 however I'm running
into a dialog positioning problem. 1.7.2 dialogs appear in the center
of the page as they should but in 1.8a1 they appear in the lower left
corner of the window regardless of the position: setting. Since I
can't reproduce it (yet) in the demo apps I figure it has to be
something on the page. Maybe a style.
In the meantime what I've done is fallen back to 1.7.2 and initialized
my dialog to include
dialog.dailog(
{
....
resizeStop: function(){ dialog.trigger( 'dialogresizestop'); }
...
}
which allows me to write the rest of my code to be compatible with
1.8a1 without having to upgrade to the alpha codebase. It seems to
work like a champ.
On Sep 24, 6:05 am, "Richard D. Worth" <[email protected]> wrote:
> This is fixed in the trunk and 1.8a1:
>
> http://dev.jqueryui.com/ticket/4629
>
> The event type is 'dialogresizestop' (all lowercase), so you would use
>
> $('#dialog').bind('dialogresizestop', function(){
> alert("resizeStop");} );
> return false;
>
> });
>
> - Richard
>
> On Wed, Sep 23, 2009 at 6:15 PM, Yermo <[email protected]> wrote:
>
> > Using jQueryUI 1.7.2 index.html, the Welcome to jQuery page, and
> > FireFox 3.0.13 under Linux , refer to the link that opens the dialog
>
> > // Dialog Link
> > $('#dialog_link').click(function(){
> > $('#dialog').dialog('open');
> > return false;
> > });
>
> > Attempting to bind an event handler to the resizeStop event /after/
> > the dialog has been created has no effect. e.g.
>
> > // Dialog Link
> > $('#dialog_link').click(function(){
> > $('#dialog').dialog('open');
>
> > $('#dialog').bind( 'resizeStop',
> > function(){alert
> > ("resizeStop");} );
>
> > return false;
> > });
>
> > Binding the event at the time the dialog is created works like a
> > champ. Is this a bug or am I missing something obvious?
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---