summaryrefslogtreecommitdiff
path: root/share/www/script
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script')
-rw-r--r--share/www/script/jquery.couch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js
index 54e32617..4cf2d196 100644
--- a/share/www/script/jquery.couch.js
+++ b/share/www/script/jquery.couch.js
@@ -50,7 +50,7 @@
}
}
if (value !== undefined) {
- req.method = "PUT";
+ req.type = "PUT";
req.data = toJSON(value);
req.contentType = "application/json";
req.processData = false