>> Fixed in trunk:
>>
>> http://svn.apache.org/viewvc?revision=1094049&view=revision
>>
>> Cheers
>> Jan
There is a wrong arguments order for the ajax call inside the list() function
of the jquery.couch.js file:
The last fixed version shows this:
829 list: function(list, view, options, ajaxOptions) {
830 var list = list.split('/');
831 var options = options || {};
832 var type = 'GET';
833 var data = null;
834 if (options['keys']) {
835 type = 'POST';
836 var keys = options['keys'];
837 delete options['keys'];
838 data = toJSON({'keys': keys });
839 }
840 ajax({
841 type: type,
842 data: data,
843 url: this.uri + '_design/' + list[0] +
844 '/_list/' + list[1] + '/' + view +
encodeOptions(options)
845 },
846 ajaxOptions, 'An error occured accessing the list'
847 );
848 },
BUT line 846 should be:
'An error occured accessing the list', ajaxOptions
according to the ajax() signature at line 1023 which is:
1023 function ajax(obj, options, errorMessage, ajaxOptions) {
Hope this helps!
Joel