aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/picture.tpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/yoga/picture.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl
index e8c7d9609..0572c8e07 100644
--- a/template/yoga/picture.tpl
+++ b/template/yoga/picture.tpl
@@ -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; }
}