Modify

Opened 14 years ago

Closed 12 years ago

#6353 closed defect (wontfix)

jquery 1.3.2 compat for ticketdelete.js

Reported by: Christian Boos Owned by: Noah Kantrowitz
Priority: normal Component: TicketDeletePlugin
Severity: normal Keywords: jquery132
Cc: jhammel Trac Release: 0.12

Description

After the upgrade of t.e.o to 0.12dev, we noticed a javascript error on ticket pages, due to ticketdelete.js' use of deprecated [@attr...] selectors, no longer supported with jquery 1.3 which comes with Trac trunk (1.3.2 currently).

  • ticketdelete/htdocs/ticketdelete.js

     
    88        $('#ticket table.properties').after('<div class="description"><h3><span class="inlinebuttons">'+delete_link+'</span>&nbsp;</h3></div>');
    99    }
    1010    $('#changelog .inlinebuttons').each(function() {
    11             var comment = $('input[@name=replyto]', this)[0];
     11            var comment = $('input[name=replyto]', this)[0];
    1212            if (comment) {
    1313                comment = comment.value;
    1414                $(this).append('<a href="../admin/ticket/comments/'+ticket+'?cnum='+comment+'">Delete</a>');

Attachments (0)

Change History (2)

comment:1 Changed 14 years ago by Christian Boos

Cc: jhammel added; anonymous removed

(Remy told me jhammel took over maintenance of this plugin, if this is correct the default owner should be fixed)

comment:2 Changed 12 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Closing since Trac 0.12 has tracopt.ticket.deleter and this plugin is therefore deprecated.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.