Ignore:
Timestamp:
Jul 26, 2011, 9:04:50 PM (13 years ago)
Author:
rvelices
Message:

feature 2384: improve average rating calculation (final)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/js/rating.js

    r11834 r11839  
    7070                                gUserRating = rateButton.initialRateValue;
    7171                                for (var i=0; i<gRatingButtons.length; i++) gRatingButtons[i].disabled=false;
     72                                if (gRatingOptions.onSuccess) gRatingOptions.onSuccess(result);
    7273                                if (gRatingOptions.updateRateElement) gRatingOptions.updateRateElement.innerHTML = gRatingOptions.updateRateText;
    7374                                if (gRatingOptions.ratingSummaryElement)
Note: See TracChangeset for help on using the changeset viewer.