Closed
Description
The paramenter "autofocus" for the modal() module has no effect.
I have a modal dialog with a login form inside and and none of the input fields gets focused after show.
The code of modal.js reveals that the problem seems to be the use of $module.filter(':input') to select the input elements. In my case $module is the jquery-wrapped "div" containing all the dialog contents and filter's job is to filter an array of elements by applying a selector to them, not that of "finding" child elements.