You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Joël Guillod <jo...@me.com> on 2011/04/24 16:52:16 UTC
Re: $.couch.db(dbname).list(
… 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