This project is archived and is in readonly mode.

#563 ✓resolved
David

Bool values with setProperty

Reported by David | January 21st, 2009 @ 05:15 AM | in 2.0 (closed)

The private variable "bools" in Element.js is an array but should be an object. It is used in setProperty, getProperty and removeProperty to check if the value should be a bool.

To fix this you can add the following line at line 269 (after the Hash.extend lines):


bools = bools.map($chk).associate(bools);

It will map the array to an object like this: {checked: true, disabled: true}

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Referenced by

Pages