Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-7417

Search keywords field does not initially get focus

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.8-RC1
    • 3.0.1
    • Search
    • None

      One of my site members noticed that the keyboard focus is not set to the keywords field when search.php is selected, requiring a second click. I confirmed this using IE and Firefox on Vista.

      Adding a little bit of JavaScript to the search_body.html worked for Firefox:

      <script type="text/javascript" language="javascript">document.getElementById("keywords").focus();</script>

      Unfortunately it did not work for IE. The login also has the same problem, i.e., a second click is required.

            bantu Andreas Fischer [X] (Inactive)
            HB HB
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: