summaryrefslogtreecommitdiff
path: root/share/www/script/jquery.couch.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/jquery.couch.js')
-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 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) {