﻿id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
10858,Template isn't loaded for NewTicket in Trac 1.0,rochi,richard,"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'':
{{{
#!js
if ($(""#ticket.ticketdraft"").length && isLoad) {
                // reset isLoad
                isLoad = false;
                return;
            }
}}}

you have to change it to:
{{{
#!js
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",defect,new,normal,TracTicketTemplatePlugin,normal,,,,1.0
