From 8b66788392652515532a89e0dd7e3af594272cb4 Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 18 Dec 2009 21:08:21 +0000 Subject: web method images.setPrivacyLevel (ws_images_setPrivacyLevel) is POST only git-svn-id: http://piwigo.org/svn/branches/2.0@4512 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/picture.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'template/yoga/picture.tpl') diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl index 26450a21c..5b720c85e 100644 --- a/template/yoga/picture.tpl +++ b/template/yoga/picture.tpl @@ -215,6 +215,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; } } -- cgit v1.2.3