Ticket #10858 (new defect)

Opened 3 months ago

Template isn't loaded for NewTicket in Trac 1.0

Reported by: rochi Assigned to: richard
Priority: normal Component: TracTicketTemplatePlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Depends on Trac 1.0.x

If you create a new ticket in Trac 1.0 tickettemplate doesn't load the template. You have first to switch the ticket type to throw a change event.

The problem is located in line 338 in tt_newticket.js:

if ($("#ticket.ticketdraft").length && isLoad) {
                // reset isLoad
                isLoad = false;
                return;
            }

you have to change it to:

if ($("#ticket.ticketdraft").css('display') != 'none' && isLoad) {
                // reset isLoad
                isLoad = false;
                return;
            }

Maybe you have to modify my patch to support Trac 0.12 and Trac 1.0

Attachments


Add/Change #10858 (Template isn't loaded for NewTicket in Trac 1.0)




Change Properties
Action