summaryrefslogtreecommitdiff
path: root/share/www/script
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-08-18 13:22:17 +0000
committerJan Lehnardt <jan@apache.org>2009-08-18 13:22:17 +0000
commit749e919c7a60106d86dcc344144ed1df620b37e1 (patch)
tree6ea1ecae04f06311982e7c53f61bb93e2e600615 /share/www/script
parent11daf84a6886c8229ac52d3f774258e392509273 (diff)
fix persisting config changes from Futon, reported by Robert Newson, we need a test suite for Futon, anyone?
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@805407 13f79535-47bb-0310-9956-ffa450edef68
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