Default state for Ticket - Attachments, Change History, Modify Ticket, Add Comment

9 views
Skip to first unread message

Aikido Guy

unread,
Jan 11, 2021, 9:26:51 AM1/11/21
to Trac Users

Hi Everyone,

I'm using Trac 1.4.2 and when I open a ticket the 4 items (Attachments, Change History, Modify Ticket, Add Comment) are, by default, either open or closed.

I have a user of one of my 50 odd projects that is asking for different behaviour (than the default).

Is there a way to specify, on a per project basis, which of these 4 items will be open (respectively closed) by editing a conf file setting? It would be nice to be able to say something like

[some section]
ticket attachments default = open
ticket change history default = closed
ticket modify ticket default = closed
ticket add comment default = closed

Kindly,
Aikido Guy

RjOllos

unread,
Jan 11, 2021, 3:43:56 PM1/11/21
to Trac Users
This is another case where the only option at present is to add some site-specific JavaScript. A plugin could be developed to make the behavior a user preference. There are some code submissions here:

Ryan 

Aikido Guy

unread,
Jan 11, 2021, 4:03:37 PM1/11/21
to Trac Users
Thank you! I'm glad to see that there is a work around. I'll give it a try in the next days...

Kindly,
Aikido Guy
Reply all
Reply to author
Forward
0 new messages