So my client informed me that they noticed that they cannot rate 5 stars items if they are already rated 5 stars....the only way to counter this is to rate it 4 stars then click 5 stars...obviously that is misleading and no actual client would truly do that..
To change this behavior, you need to: get the source for AJAX Control Toolkit, modify RatingBehavior.pre.js, compile AJAX Control Toolkit, and replace the AjaxControlToolkit.dll assembly used by your version of nopCommerce.
The following is the change to make to RatingBehavior.pre.js (default code commented out):
_onStarClick : function(e) { /// <summary> /// Handler for a star's click event /// </summary> /// <param name="e" type="Sys.UI.DomEvent"> /// Event info /// </param> // if (this._readOnly) { // return; // } // if (this._ratingValue != this._currentRating) { // this.set_Rating(this._currentRating); // } if (!this._readOnly) { this._ratingValue = 0; this.set_Rating(this._currentRating); } },