Index: lams_central/web/includes/javascript/jquery.jRating.js =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/includes/javascript/jquery.jRating.js,v diff -u -r1.2 -r1.2.2.1 --- lams_central/web/includes/javascript/jquery.jRating.js 19 Feb 2013 10:51:09 -0000 1.2 +++ lams_central/web/includes/javascript/jquery.jRating.js 13 Apr 2015 18:17:58 -0000 1.2.2.1 @@ -62,7 +62,8 @@ $(this).height(starHeight); var average = parseFloat($(this).attr('data-average')), // get the average of all rates - idBox = parseInt($(this).attr('data-id')), // get the id of the box + //**LAMS** customized. originally it looked like idBox = parseInt($(this).attr('data-id')), + idBox = $(this).attr('data-id'), // get the id of the box widthRatingContainer = starWidth*opts.length, // Width of the Container widthColor = average/opts.rateMax*widthRatingContainer, // Width of the color Container