There's a known problem in 1.7 when multiple modal dialogs are opened
at the same time ( http://dev.jqueryui.com/ticket/4309 ).

On Mar 30, 4:45 pm, JJ <fair.li...@hotmail.co.uk> wrote:
> On Mar 30, 2:43 pm, TheNephalim <robert.eberh...@gmail.com> wrote:
>
>
>
> > Hello,
>
> > I am using jQuery UI 1.5.3 along with jQuery 1.2.6.  I am creating a
> > modal dialog that displays some text and has two input boxes.  The
> > dialog appears and everything works fine with the exception that all
> > keyboard action seems to be disabled.  The user cannot enter any text
> > in the input boxes at all.  Mouse actions appear to function
> > properly.  For example, I can cut and paste text into the text
> > boxes.
>
> > If I set the modal property to false, I can enter text into the input
> > boxes.  The problems mentioned above only occur when the modal
> > property is set to true.
>
> > Included below is my call for the dialog.  If further code is
> > necessary to tease out the problem, I can post, I just didn't want to
> > muddy the waters.
>
> >     $('#addCode').click(function(){
> >         $("#ddpListContainer").dialog('open');
> >     });
>
> >     $("#ddpListContainer").dialog({
> >         autoOpen: false,
> >         bgiframe: true,
> >         height: 575,
> >         width:650,
> >         modal: true,
> >         resizable:false
> >     });
>
> > Thanks in advance for any assistance that you can offer.
>
> > -Robert Eberhart
>
> I had (possibly) the same issue but found it in a different way.
> This still appears to happen using jQuery 1.3.2 and UI 1.7.1.
>
> I was opening a modal dialog containing a form with various inputs, an
> "Update" and a "Close" button.  Up to this point all was good and
> eveything worked (which is where this could be different from your
> scenario).
> On clicking "Update" a Yes/No confirmation dialog was shown.  After
> closing this dialog none of the text fields in the original form were
> useable.  (There are differences between FF and IE though.  With IE I
> could select the text, just not change it but with FF is it completely
> unselectable.)
>
> I did a quick test page, and even though I'm not sure this will help
> in your case it might be useful to others.
>
> It seems that with 2 (not tested with more than 2 so far) dialogs, if
> both are set "modal: true" then they seem to interact with each other
> somehow when it comes to form inputs.
> If the initial dialog is set "modal: false" then having the other
> dialog "modal: true" does not affect the initial one, and the inputs
> are useable.
>
> If I did things right, what I was using as a test page is here:
>  http://paste.pocoo.org/show/110348/
>
> Setting either the default or '#fids_dlg_edit' modal value to true
> breaks it.
>
> (The names, id's and classes are a carry-over from the original page
> and don't really mean much here.)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery-ui@googlegroups.com
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to