diff options
author | Damien F. Katz <damien@apache.org> | 2008-05-19 19:20:19 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2008-05-19 19:20:19 +0000 |
commit | 55ee8c7f9188443900c52a69ae408bcf457be62a (patch) | |
tree | e98a332b9b43208f4d7494ac357c51df81866b29 /share/www/script/jquery.couch.js | |
parent | 4e47fa72aedc6533bd669599e325c911b2c8c68e (diff) |
Changed temp view definition to always be jsonobjects with map/reduce source as members of the object. Everywhere we used 'text/javascript' or 'application/javascript', we now just use 'javascript'
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@657926 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/jquery.couch.js')
-rw-r--r-- | share/www/script/jquery.couch.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js index de1cddc9..00090619 100644 --- a/share/www/script/jquery.couch.js +++ b/share/www/script/jquery.couch.js @@ -179,7 +179,7 @@ fun = fun.toSource ? fun.toSource() : "(" + fun.toString() + ")"; $.ajax({ type: "POST", url: this.uri + "_temp_view" + encodeOptions(options), - contentType: "text/javascript", data: fun, dataType: "json", + contentType: "javascript", data: fun, dataType: "json", complete: function(req) { var resp = $.httpData(req, "json"); if (req.status == 200 && options.success) { |