summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-19 04:14:09 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-19 04:14:09 +0000
commite0efdee8b2a2ba2ee1b86cfb2b7863a88877c00e (patch)
tree7ea90ec820b6ccb4bb0c1ba85c4c62ff8339e022
parentc0aa61787c98e27f4c25ad0a4a2307c884bcf664 (diff)
Fix /item -> /items to conform to new REST api.
-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 8d60df64..75500625 100644
--- a/core/views/in_place_edit.html.php
+++ b/core/views/in_place_edit.html.php
@@ -5,7 +5,7 @@ $(document).ready(function() {
return function(value, settings) {
var post_data = {'__return': settings.name};
post_data[settings.name] = value;
- $.post("<?= url::site("item/__ID__") ?>".replace("__ID__", id),
+ $.post("<?= url::site("items/__ID__") ?>".replace("__ID__", id),
post_data,
function(data, textStatus) {
if (textStatus == "success") {