Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-15758

Don't let first input element grab focus on page load

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Low Low
    • None
    • None
    • None

      On various pages (eg. secure/admin/ViewIssueTypes.jspa), as soon as the page loads, the cursor focus jumps to the first input field. It is done with this Javascript snippet:

          <script language="javascript" type="text/javascript">
      	    try { document.jiraform.elements[0].focus(); } catch (e) {}
      	</script>
      

      This is darn annoying, as 90% of the time I want to use Firefox '/' to search for text in the page, and find myself instead typing into a text field.

              Unassigned Unassigned
              7ee5c68a815f Jeff Turner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: