Setting initial value issue

Jul 27, 2012 at 12:11 AM

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

Coordinator
Jul 28, 2012 at 9:27 AM

Hi Alex, 

I'll have a look at it asap.

regards,
Gidon

Coordinator
Jul 28, 2012 at 9:51 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Jul 28, 2012 at 9:59 AM

Fixed

Jul 30, 2012 at 4:34 PM

Thanks a lot. Very useful control and easy to use!