Edgewall Software

Ticket #4550 (closed defect: fixed)

Opened 22 months ago

Last modified 22 months ago

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

Changed 22 months ago by cboos

  • owner changed from jonas to cboos
  • status changed from new to assigned
  • milestone set to 0.11

Well spotted, thanks!

Changed 22 months ago by cboos

  • status changed from assigned to closed
  • resolution set to fixed
  • severity changed from normal to trivial

Fixed in r4578.

Add/Change #4550 (Javascript error in New Ticket page)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.