Edgewall Software

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12260 closed defect (fixed)

The Show Property Changes checkbox has no effect on t.e.o — at Version 5

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.2
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:

Fixed regression in Show property changes preference on ticket page, after upgrade to jQuery 1.11.3 (#11019).

API Changes:
Internal Changes:

Description

The checkbox does not seem to be working on t.e.o (Trac 1.2dev), but it functions correctly on the other Edgewall Trac sites, which run Trac 1.0.9.

I haven't tested whether the problem is reproducible with a clean install of 1.2dev.

Change History (5)

comment:1 by Ryan J Ollos, 8 years ago

Also, I don't see any errors in the browser console.

comment:2 by Peter Suter, 8 years ago

Works for me in Firefox, but not in Chrome.

showPropertyChanges.attr('checked') seems to always be "checked" in Chrome. Maybe showPropertyChanges.prop('checked') should be used instead?

(Strange that it works with Trac 1.0.9 though.)

Last edited 8 years ago by Peter Suter (previous) (diff)

comment:3 by Ryan J Ollos, 8 years ago

Milestone: 1.2
Owner: set to Ryan J Ollos
Status: newassigned

I see the issue with Chrome 47 and Firefox 42 on Mac OSX. I can reproduce on the trunk, but not on 1.0-stable. The difference in behavior is probably due to the upgrade of the jQuery libraries in #11019.

The proposed fix works well and makes sense to me. I'll push the change in a day or so if there is no other feedback. Thanks!

comment:4 by Peter Suter, 8 years ago

(Ah, probably it only "worked" for me because I still had the old jQuery cached in Firefox.)

.attr() versus .prop() is also mentioned in the jQuery upgrade guide linked in #11019.

comment:5 by Ryan J Ollos, 8 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Fixed in [14372].

Note: See TracTickets for help on using tickets.