Opened 7 years ago

Closed 4 years ago

#6353 closed defect (wontfix)

jquery 1.3.2 compat for ticketdelete.js

Reported by: cboos Owned by: coderanger
Priority: normal Component: TicketDeletePlugin
Severity: normal Keywords: jquery132
Cc: jhammel Trac Release: 0.12


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').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 7 years ago by cboos

  • 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 4 years ago by rjollos

  • Resolution set to wontfix
  • Status changed from new to closed

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

Add Comment

Modify Ticket

as closed The owner will remain coderanger.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.