merge -r4512 from branch 2.0 to trunk

web method images.setPrivacyLevel (ws_images_setPrivacyLevel) is POST only

git-svn-id: http://piwigo.org/svn/trunk@4513 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2009-12-18 21:12:41 +00:00
parent 975188d088
commit 8c051ea526
5 changed files with 46 additions and 28 deletions
+1
View File
@@ -214,6 +214,7 @@ var y = new PwgWS(rootUrl);
y.callService(
"pwg.images.setPrivacyLevel", {image_id: id, level:level} ,
{
method: "POST",
onFailure: function(num, text) { selectElement.disabled = false; alert(num + " " + text); },
onSuccess: function(result) { selectElement.disabled = false; }
}