Hide Forgot
Description of problem: When a user has JavaScript enabled and incorrectly enters external tracker details (e.g. by choosing a tracker and not entering a bug identifier), pressing the top Submit button results in the page scrolling so that the error message inserted below the external tracker line is positioned just below the bottom edge of the browser window and thus not visible to the user, who may be left confused about why the form was not submitted. Version-Release number of selected component (if applicable): 4.4.0009 (and Firefox 23) How reproducible: Always Steps to Reproduce: 1. Ensure that JavaScript is enabled in your browser. 2. View a bug that has no external trackers set. 3. Choose a tracker from the drop-down list but leave the ID field blank. 4. Scroll up to the top Submit button. If necessary resize you browser window so that the External Trackers table is below the bottom of the browser window. 5. Press the Submit button. Actual results: The page scrolls so that the External Tracker field is shown at the bottom of the window, but the error message on the next line is below the bottom edge of the browser window. Expected results: The page should be scrolled so that both the incorrect External Tracker setting and the error message are visible. Additional info: none.
On firefox the browser would scroll to the offending field on a validation error, but scroll as far as error message which was below the field. Chrome scrolled to the error message. I've fixed it so it will now scroll to the error message in both chrome and firefox.
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.