Edgewall Software
Modify

Opened 14 years ago

Last modified 7 years ago

#9457 new enhancement

Unsubmitted comments lost after attaching files

Reported by: andrew.c.martin@… Owned by:
Priority: low Milestone: unscheduled
Component: ticket system Version: 0.11.6
Severity: minor Keywords: javascript
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

While modifying assigned tickets of mine, I've noticed that if I add comments and then go to attach a file, when I selected the "Back to Ticket#" button at the top of the page, the attachment is saved but my un-submitted comments are erased. Trac should save all modifications in memory until the changes are submitted.

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 14 years ago

It would be difficult for Trac to save anything not yet submitted… but I think there was already a suggestion that we could use Javascript for this (maybe simply by disabling the Attach file button if there's a pending comment).

comment:2 by Alexander Sokolov <iskander.sokol@…>, 14 years ago

Yes, it's tedious to remember that you don't submit changes before press Attach file

comment:3 by Christian Boos, 14 years ago

Keywords: javascript added
Milestone: unscheduled

PatchWelcome for suggestion in comment:1.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.