aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/js/rating.js
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-07-26 04:34:36 +0000
committerrvelices <rv-github@modusoptimus.com>2011-07-26 04:34:36 +0000
commitdd212fc6a184bd7fd660d1db6698d5bfb54a140a (patch)
tree233a37019990e3c3b426836795be3cb29bca2000 /themes/default/js/rating.js
parent41202b1f2b42185e7b8020f856fead0ba0fb9e0b (diff)
- ws accepts method name in GET paraeters even if http method is POST (easier to see in apache logs)
- picture rating is done through POST and not GET git-svn-id: http://piwigo.org/svn/trunk@11834 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/js/rating.js')
-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 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;