diff options
Diffstat (limited to 'themes/default/js/rating.js')
-rw-r--r-- | themes/default/js/rating.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/default/js/rating.js b/themes/default/js/rating.js index d69bd5987..b72b55477 100644 --- a/themes/default/js/rating.js +++ b/themes/default/js/rating.js @@ -61,6 +61,7 @@ function updateRating(e) y.callService( "pwg.images.rate", {image_id: gRatingOptions.image_id, rate: rateButton.initialRateValue } , { + method: "POST", onFailure: function(num, text) { alert(num + " " + text); document.location = rateButton.form.action + "&rate="+rateButton.initialRateValue; |