Ticket #4550 (closed defect: fixed)
Javascript error in New Ticket page
| Reported by: | nil4 | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 |
| Component: | ticket system | Version: | devel |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
The source:trunk/templates/ticket_new.html file contains this Javascript snipped in the head:
<script type="text/javascript"> $(document).ready(function() {$("#summary").get(0).focus()}); </script>
This refers to a field with id="summary", but the actual summary field has id="field-summary". As there's no error checking on the result of the $() function, this results in an error message in Internet Explorer.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


