summaryrefslogtreecommitdiff
path: root/core/views/in_place_edit.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/in_place_edit.html.php')
-rw-r--r--core/views/in_place_edit.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/in_place_edit.html.php b/core/views/in_place_edit.html.php
index 75500625..f02b77ba 100644
--- a/core/views/in_place_edit.html.php
+++ b/core/views/in_place_edit.html.php
@@ -3,7 +3,7 @@
$(document).ready(function() {
ajax_update = function(className, id) {
return function(value, settings) {
- var post_data = {'__return': settings.name};
+ var post_data = {'_method': 'put', '_return': settings.name};
post_data[settings.name] = value;
$.post("<?= url::site("items/__ID__") ?>".replace("__ID__", id),
post_data,