Changes between Initial Version and Version 1 of Ticket #7355, comment 1


Ignore:
Timestamp:
May 11, 2011, 7:47:39 AM (11 years ago)
Author:
noldor
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7355, comment 1

    initial v1  
    22I've noticed that jQuery automatically generates an "-1" value for the top level dialog box. But that -1 value is still triggering the focusing, even if you don't have any tabbable element in your modal dialog.
    33
     4{{{
     5
    46progDiv.dialog({ autoOpen: false, modal : true, resizable : false });
     7
    58'''$(".ui-dialog").removeAttr("tabindex");'''
     9
    610progDiv.dialog('open');
     11}}}
     12
    713
    814This prevents the window focusing if it does not have any input element inside.