This project is read-only.
1

Closed

Setting initial value issue

description

Hi,
 
I working on incorporating your plugin and noticed the following issue:
 
when i call
 
$('#my-rating').rateit({ 'readonly': true,
'value': 3});
 
for this
 
<div id="my-rating"></div>  
the plugin does not set the value. I believe the issue is on line 83:
 
            itemdata('value', itemdata('value') || options.min);
 
when it's supposed to be
 
            itemdata('value', itemdata('value') || options.value);
 
Thanks
 
-Alex
Closed Jul 28, 2012 at 10:55 AM by gidon

comments

gidon wrote Jul 28, 2012 at 10:55 AM

Resolved with changeset 20848.