Modify ↓
Opened 18 years ago
Closed 18 years ago
#4550 closed defect (fixed)
Javascript error in New Ticket page
Reported by: | nil4 | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | 0.11 |
Component: | ticket system | Version: | devel |
Severity: | trivial | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
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 (0)
Change History (2)
comment:1 by , 18 years ago
Milestone: | → 0.11 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Severity: | normal → trivial |
Status: | assigned → closed |
Fixed in r4578.
Note:
See TracTickets
for help on using tickets.
Well spotted, thanks!