couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joël Guillod <joel.guil...@me.com>
Subject Re: $.couch.db(dbname).list(
Date Sun, 24 Apr 2011 14:52:16 GMT
… a fix is also needed in file jquery.couchdb.js when a returned data type
is anything other than "json"  (e.g. like "html" for a list/show) query:

1036	      complete: function(req) {
1037	        try {
1038	          var resp = httpData(req, "json");
1039	        } catch(e) {

line 1038 SHOULD be :

1038                var resp = httpData(req, ajaxOptions.dataType || "json");

Now, it works on my side!

Cheers
Joel


Mime
View raw message