This project is read-only.
2

Closed

Setting value to 0 doesn't work

description

$(SELECTOR).rateit('value', 0);
doesn't work, it will only accept a string representation of '0'.
 
Setting it to any other numerical value does work correctly.
Closed Jun 8, 2012 at 3:47 PM by gidon

comments

jeffgman wrote Jun 8, 2012 at 3:33 PM

Thanks! Also, if it could accept a Null or include a equivalent Reset, that would be nice. I can certainly code that a value of 0 is equivalent to a null or No Rating, but not sure if that is the same for everyone. The default is null so it would be nice to set it back to that.

gidon wrote Jun 8, 2012 at 3:47 PM

Resolved with changeset 19216.