diff options
author | Noah Slater <nslater@apache.org> | 2010-07-09 15:53:00 +0000 |
---|---|---|
committer | Noah Slater <nslater@apache.org> | 2010-07-09 15:53:00 +0000 |
commit | f30015e8d47d1a917c0c10a864f62dbfe073841b (patch) | |
tree | bcbfcf8be4c18d70def15dc15b0c5391b03e8f96 /share/www/script/jquery.couch.js | |
parent | 8ab8780728dd259a80fad8eadf55a04f59b2ef65 (diff) | |
parent | fa69901d71d62af68f1e47f89e1a5d5079a7d151 (diff) | |
download | couchdb-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.js | 1 |
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, |