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

XMLWordPrintable

    • Type: Bug
    • Resolution: Not a bug
    • Priority: Low
    • None
    • Affects Version/s: None
    • Component/s: 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.

            Assignee:
            Unassigned
            Reporter:
            Jeff Turner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: