Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#10625 closed defect (fixed)

"Comments only" checkbox removes attribute changes in comment preview

Reported by: Remy Blank Owned by: Peter Suter
Priority: normal Milestone: 1.0
Component: ticket system Version: 0.13dev
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The "Comments only" checkbox in tickets toggles the visibility of attribute changes in the change history. Currently, it also toggles the attributes in the comment preview, which makes it difficult to see the changed fields.

The attribute changes in the comment preview should always be visible.

And while we're at it, there's currently an error in the JavaScript that prevents the automatic preview from working when creating a new ticket. FireBug shows the following error in the console:

comments_prefs is not defined
  else if (comment_prefs.comments_order == 'threaded')

Attachments (2)

t10625-commentsonly-leavepreview.patch (940 bytes ) - added by Peter Suter 13 years ago.
Leave comment preview alone
t10625-threadedcomments-dropscriptfromnewticketpage.patch (1.1 KB ) - added by Peter Suter 13 years ago.
Drop threaded_comments.js script from new ticket page

Download all attachments as: .zip

Change History (6)

by Peter Suter, 13 years ago

Leave comment preview alone

by Peter Suter, 13 years ago

Drop threaded_comments.js script from new ticket page

comment:1 by Peter Suter, 13 years ago

The first patch above uses a more specific selector, so the comment preview is not affected anymore.

The second drops the threaded_comments.js script from the New ticket page, avoiding the comments_prefs is not defined error.

OK?

comment:2 by Remy Blank, 13 years ago

Looks good!

comment:3 by Peter Suter, 13 years ago

Resolution: fixed
Status: newclosed

Ok, thanks. Applied in [11010] and [11011].

comment:4 by Christian Boos, 12 years ago

Severity: normalminor

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Peter Suter.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Peter Suter to the specified user.

Add Comment


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