Commits

Christian Boos committed 6116820

1.0dev: the default values for a new ticket are already preset (and in a better way) in `Ticket._init_defaults`.

This fixes the glitch seen in the new ticket preview which displayed ''(fixed)'' as the new ticket resolution.

Comments (0)

Files changed (1)

trac/ticket/web_ui.py

 
         fields = self._prepare_fields(req, ticket)
 
-        # setup default values for the new ticket
-        
-        for field in fields:
-            ticket.values.setdefault(field['name'], field.get('value'))
-
         # position 'owner' immediately before 'cc',
         # if not already positioned after (?)