summaryrefslogtreecommitdiff
path: root/share/www/script/jquery.couch.js
diff options
context:
space:
mode:
authorNoah Slater <nslater@apache.org>2010-07-09 15:53:00 +0000
committerNoah Slater <nslater@apache.org>2010-07-09 15:53:00 +0000
commitf30015e8d47d1a917c0c10a864f62dbfe073841b (patch)
treebcbfcf8be4c18d70def15dc15b0c5391b03e8f96 /share/www/script/jquery.couch.js
parent8ab8780728dd259a80fad8eadf55a04f59b2ef65 (diff)
parentfa69901d71d62af68f1e47f89e1a5d5079a7d151 (diff)
downloadcouchdb-1.0.0.tar.gz
tagging 1.0.01.0.0
git-svn-id: https://svn.apache.org/repos/asf/couchdb/tags/1.0.0@962579 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/jquery.couch.js')
-rw-r--r--share/www/script/jquery.couch.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js
index f9647ecd7..879c2444b 100644
--- a/share/www/script/jquery.couch.js
+++ b/share/www/script/jquery.couch.js
@@ -595,6 +595,7 @@
function ajax(obj, options, errorMessage, ajaxOptions) {
options = $.extend({successStatus: 200}, options);
+ ajaxOptions = $.extend({contentType: "application/json"}, ajaxOptions);
errorMessage = errorMessage || "Unknown error";
$.ajax($.extend($.extend({
type: "GET", dataType: "json", cache : !$.browser.msie,