﻿id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
6442	[Patch] javascript error: /\/ticket\/(\d+)/.exec(document.location) is null	Vincent	coderanger	"Hello,

Using TicketDeletePlugin 2.0 with Trac 0.11 with Python 2.4.

It works great but on the page ""newticket"" of Trac, a javascript error occurs due to TicketDeletePlugin:

{{{
Error: /\/ticket\/(\d+)/.exec(document.location) is null
Source File: https://www.myserver.tld/myproject/chrome/ticketdelete/ticketdelete.js
Line: 2
}}}

Thats's annoying because it breaks the other javascript running on this page (in particular the ajax stuff of AutocompleteUsersPlugin).
"	defect	closed	normal	TicketDeletePlugin	major	wontfix		Carsten	0.11
