[rt-users] onetime cc checkbox not working on 4.2

Kevin Falcone falcone at bestpractical.com
Fri Nov 15 10:50:56 EST 2013


On Fri, Nov 15, 2013 at 10:47:28AM -0500, Daniel De Marco wrote:
> on my 4.2 RT installation the transaction onetime cc and bcc checkboxes
> do not seem to work properly: when checking the box, the corresponding
> email address is not being added to the One-Time Cc/Bcc input field.

http://issues.bestpractical.com/Ticket/Display.html?id=26959

You should test RT 4.2.1rc1 released yesterday, announced on the
rt-devel lists, links available in the archives.

-kevin

> The problem seems to be in the checkboxToInput function in
> share/static/js/util.js when it does: box.attr('checked')
> 
> Apparently the behavior of .attr('checked') changed in jQuery 1.6 and it
> no longer returns true or false, but undefined or "checked". Testing the
> call in the JS console, it seems to return undefined to me independently
> of whether the checkbox is checked or not.
> 
> Replacing the attr('checked') with .is(':checked') in the mentioned
> function fixes the problem for me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20131115/06d1d63b/attachment.pgp>


More information about the rt-users mailing list