Edgewall Software

Opened 16 years ago

Closed 16 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:


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()});

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 Christian Boos, 16 years ago

Milestone: 0.11
Owner: changed from Jonas Borgström to Christian Boos
Status: newassigned

Well spotted, thanks!

comment:2 by Christian Boos, 16 years ago

Resolution: fixed
Severity: normaltrivial
Status: assignedclosed

Fixed in r4578.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.