aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/js/rating.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--themes/default/js/rating.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/default/js/rating.js b/themes/default/js/rating.js
index b72b55477..3bc846681 100644
--- a/themes/default/js/rating.js
+++ b/themes/default/js/rating.js
@@ -69,6 +69,7 @@ function updateRating(e)
onSuccess: function(result) {
gUserRating = rateButton.initialRateValue;
for (var i=0; i<gRatingButtons.length; i++) gRatingButtons[i].disabled=false;
+ if (gRatingOptions.onSuccess) gRatingOptions.onSuccess(result);
if (gRatingOptions.updateRateElement) gRatingOptions.updateRateElement.innerHTML = gRatingOptions.updateRateText;
if (gRatingOptions.ratingSummaryElement)
{