Sorry, I should've tested this better. The first code does work, I just had some other problems there.
On Wed, Mar 18, 2015 at 1:23 PM, Markus Laire <[email protected]> wrote: > I would like to change "New Ticket Page" in admin-section so that > default severity is Important, but user still can choose another > severity. Also I want to keep proper order in severity_choices so I > don't want to just move "Important" as first. > > I have tried few things, and I am able to change default severity with > code like: > > if {$severity eq ""} {set severity Important} > > but problem with that is that if user chooses other severity, it is > not respected, but severity will always be Important. > > I also tried: > > if {![info exists severity]} {set severity Important} > > but that doesn't do anything. Default severity remains Critical. > > -- > Markus Laire > https://sites.google.com/site/malaire -- Markus Laire https://sites.google.com/site/malaire _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

